Package com.google.pubsub.v1
Interface AIInferenceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AIInference,AIInference.Builder
@Generated
public interface AIInferenceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.Optional.com.google.protobuf.ByteStringOptional.Optional.Optional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getEndpoint
String getEndpoint()Required. An endpoint to a Vertex AI model of the form `projects/{project}/locations/{location}/endpoints/{endpoint}` or `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`. Vertex AI API requests will be sent to this endpoint.string endpoint = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The endpoint.
-
getEndpointBytes
com.google.protobuf.ByteString getEndpointBytes()Required. An endpoint to a Vertex AI model of the form `projects/{project}/locations/{location}/endpoints/{endpoint}` or `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`. Vertex AI API requests will be sent to this endpoint.string endpoint = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for endpoint.
-
hasUnstructuredInference
boolean hasUnstructuredInference()Optional. Requests and responses can be any arbitrary JSON object.
.google.pubsub.v1.AIInference.UnstructuredInference unstructured_inference = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the unstructuredInference field is set.
-
getUnstructuredInference
AIInference.UnstructuredInference getUnstructuredInference()Optional. Requests and responses can be any arbitrary JSON object.
.google.pubsub.v1.AIInference.UnstructuredInference unstructured_inference = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The unstructuredInference.
-
getUnstructuredInferenceOrBuilder
AIInference.UnstructuredInferenceOrBuilder getUnstructuredInferenceOrBuilder()Optional. Requests and responses can be any arbitrary JSON object.
.google.pubsub.v1.AIInference.UnstructuredInference unstructured_inference = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getServiceAccountEmail
String getServiceAccountEmail()Optional. The service account to use to make prediction requests against endpoints. The resource creator or updater that specifies this field must have `iam.serviceAccounts.actAs` permission on the service account. If not specified, the Pub/Sub [service agent]({$universe.dns_names.final_documentation_domain}/iam/docs/service-agents), service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.string service_account_email = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The serviceAccountEmail.
-
getServiceAccountEmailBytes
com.google.protobuf.ByteString getServiceAccountEmailBytes()Optional. The service account to use to make prediction requests against endpoints. The resource creator or updater that specifies this field must have `iam.serviceAccounts.actAs` permission on the service account. If not specified, the Pub/Sub [service agent]({$universe.dns_names.final_documentation_domain}/iam/docs/service-agents), service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.string service_account_email = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for serviceAccountEmail.
-
getInferenceModeCase
AIInference.InferenceModeCase getInferenceModeCase()
-