public static final class DeployIndexRequest.Builder extends GeneratedMessage.Builder<DeployIndexRequest.Builder> implements DeployIndexRequestOrBuilderRequest message for DeployIndex.
Protobuf type google.cloud.visionai.v1.DeployIndexRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DeployIndexRequest.BuilderImplements
DeployIndexRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DeployIndexRequest build()| Returns | |
|---|---|
| Type | Description |
DeployIndexRequest |
|
buildPartial()
public DeployIndexRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
DeployIndexRequest |
|
clear()
public DeployIndexRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
DeployIndexRequest.Builder |
|
clearDeployedIndex()
public DeployIndexRequest.Builder clearDeployedIndex()Required. Index to deploy.
.google.cloud.visionai.v1.DeployedIndex deployed_index = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DeployIndexRequest.Builder |
|
clearIndexEndpoint()
public DeployIndexRequest.Builder clearIndexEndpoint() Required. IndexEndpoint the index is deployed to.
Format:
projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}
string index_endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
DeployIndexRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DeployIndexRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DeployIndexRequest |
|
getDeployedIndex()
public DeployedIndex getDeployedIndex()Required. Index to deploy.
.google.cloud.visionai.v1.DeployedIndex deployed_index = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DeployedIndex |
The deployedIndex. |
getDeployedIndexBuilder()
public DeployedIndex.Builder getDeployedIndexBuilder()Required. Index to deploy.
.google.cloud.visionai.v1.DeployedIndex deployed_index = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DeployedIndex.Builder |
|
getDeployedIndexOrBuilder()
public DeployedIndexOrBuilder getDeployedIndexOrBuilder()Required. Index to deploy.
.google.cloud.visionai.v1.DeployedIndex deployed_index = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DeployedIndexOrBuilder |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getIndexEndpoint()
public String getIndexEndpoint() Required. IndexEndpoint the index is deployed to.
Format:
projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}
string index_endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The indexEndpoint. |
getIndexEndpointBytes()
public ByteString getIndexEndpointBytes() Required. IndexEndpoint the index is deployed to.
Format:
projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}
string index_endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for indexEndpoint. |
hasDeployedIndex()
public boolean hasDeployedIndex()Required. Index to deploy.
.google.cloud.visionai.v1.DeployedIndex deployed_index = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the deployedIndex field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeDeployedIndex(DeployedIndex value)
public DeployIndexRequest.Builder mergeDeployedIndex(DeployedIndex value)Required. Index to deploy.
.google.cloud.visionai.v1.DeployedIndex deployed_index = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
DeployedIndex |
| Returns | |
|---|---|
| Type | Description |
DeployIndexRequest.Builder |
|
mergeFrom(DeployIndexRequest other)
public DeployIndexRequest.Builder mergeFrom(DeployIndexRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
DeployIndexRequest |
| Returns | |
|---|---|
| Type | Description |
DeployIndexRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeployIndexRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DeployIndexRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DeployIndexRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DeployIndexRequest.Builder |
|
setDeployedIndex(DeployedIndex value)
public DeployIndexRequest.Builder setDeployedIndex(DeployedIndex value)Required. Index to deploy.
.google.cloud.visionai.v1.DeployedIndex deployed_index = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
DeployedIndex |
| Returns | |
|---|---|
| Type | Description |
DeployIndexRequest.Builder |
|
setDeployedIndex(DeployedIndex.Builder builderForValue)
public DeployIndexRequest.Builder setDeployedIndex(DeployedIndex.Builder builderForValue)Required. Index to deploy.
.google.cloud.visionai.v1.DeployedIndex deployed_index = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DeployedIndex.Builder |
| Returns | |
|---|---|
| Type | Description |
DeployIndexRequest.Builder |
|
setIndexEndpoint(String value)
public DeployIndexRequest.Builder setIndexEndpoint(String value) Required. IndexEndpoint the index is deployed to.
Format:
projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}
string index_endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe indexEndpoint to set. |
| Returns | |
|---|---|
| Type | Description |
DeployIndexRequest.Builder |
This builder for chaining. |
setIndexEndpointBytes(ByteString value)
public DeployIndexRequest.Builder setIndexEndpointBytes(ByteString value) Required. IndexEndpoint the index is deployed to.
Format:
projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}
string index_endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for indexEndpoint to set. |
| Returns | |
|---|---|
| Type | Description |
DeployIndexRequest.Builder |
This builder for chaining. |