public static final class CreateIndexEndpointRequest.Builder extends GeneratedMessage.Builder<CreateIndexEndpointRequest.Builder> implements CreateIndexEndpointRequestOrBuilderRequest message for CreateIndexEndpoint.
Protobuf type google.cloud.visionai.v1.CreateIndexEndpointRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateIndexEndpointRequest.BuilderImplements
CreateIndexEndpointRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateIndexEndpointRequest build()| Returns | |
|---|---|
| Type | Description |
CreateIndexEndpointRequest |
|
buildPartial()
public CreateIndexEndpointRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateIndexEndpointRequest |
|
clear()
public CreateIndexEndpointRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateIndexEndpointRequest.Builder |
|
clearIndexEndpoint()
public CreateIndexEndpointRequest.Builder clearIndexEndpoint()Required. The resource being created.
.google.cloud.visionai.v1.IndexEndpoint index_endpoint = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateIndexEndpointRequest.Builder |
|
clearIndexEndpointId()
public CreateIndexEndpointRequest.Builder clearIndexEndpointId()Optional. The ID to use for the IndexEndpoint, which will become the final component of the IndexEndpoint's resource name if the user specifies it. Otherwise, IndexEndpoint id will be autogenerated.
This value should be up to 63 characters, and valid characters are a-z, 0-9 and dash (-). The first character must be a letter, the last must be a letter or a number.
string index_endpoint_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CreateIndexEndpointRequest.Builder |
This builder for chaining. |
clearParent()
public CreateIndexEndpointRequest.Builder clearParent() Required. Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateIndexEndpointRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CreateIndexEndpointRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateIndexEndpointRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getIndexEndpoint()
public IndexEndpoint getIndexEndpoint()Required. The resource being created.
.google.cloud.visionai.v1.IndexEndpoint index_endpoint = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
IndexEndpoint |
The indexEndpoint. |
getIndexEndpointBuilder()
public IndexEndpoint.Builder getIndexEndpointBuilder()Required. The resource being created.
.google.cloud.visionai.v1.IndexEndpoint index_endpoint = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
IndexEndpoint.Builder |
|
getIndexEndpointId()
public String getIndexEndpointId()Optional. The ID to use for the IndexEndpoint, which will become the final component of the IndexEndpoint's resource name if the user specifies it. Otherwise, IndexEndpoint id will be autogenerated.
This value should be up to 63 characters, and valid characters are a-z, 0-9 and dash (-). The first character must be a letter, the last must be a letter or a number.
string index_endpoint_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The indexEndpointId. |
getIndexEndpointIdBytes()
public ByteString getIndexEndpointIdBytes()Optional. The ID to use for the IndexEndpoint, which will become the final component of the IndexEndpoint's resource name if the user specifies it. Otherwise, IndexEndpoint id will be autogenerated.
This value should be up to 63 characters, and valid characters are a-z, 0-9 and dash (-). The first character must be a letter, the last must be a letter or a number.
string index_endpoint_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for indexEndpointId. |
getIndexEndpointOrBuilder()
public IndexEndpointOrBuilder getIndexEndpointOrBuilder()Required. The resource being created.
.google.cloud.visionai.v1.IndexEndpoint index_endpoint = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
IndexEndpointOrBuilder |
|
getParent()
public String getParent() Required. Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes() Required. Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
hasIndexEndpoint()
public boolean hasIndexEndpoint()Required. The resource being created.
.google.cloud.visionai.v1.IndexEndpoint index_endpoint = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the indexEndpoint field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CreateIndexEndpointRequest other)
public CreateIndexEndpointRequest.Builder mergeFrom(CreateIndexEndpointRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateIndexEndpointRequest |
| Returns | |
|---|---|
| Type | Description |
CreateIndexEndpointRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateIndexEndpointRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateIndexEndpointRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateIndexEndpointRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateIndexEndpointRequest.Builder |
|
mergeIndexEndpoint(IndexEndpoint value)
public CreateIndexEndpointRequest.Builder mergeIndexEndpoint(IndexEndpoint value)Required. The resource being created.
.google.cloud.visionai.v1.IndexEndpoint index_endpoint = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
IndexEndpoint |
| Returns | |
|---|---|
| Type | Description |
CreateIndexEndpointRequest.Builder |
|
setIndexEndpoint(IndexEndpoint value)
public CreateIndexEndpointRequest.Builder setIndexEndpoint(IndexEndpoint value)Required. The resource being created.
.google.cloud.visionai.v1.IndexEndpoint index_endpoint = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
IndexEndpoint |
| Returns | |
|---|---|
| Type | Description |
CreateIndexEndpointRequest.Builder |
|
setIndexEndpoint(IndexEndpoint.Builder builderForValue)
public CreateIndexEndpointRequest.Builder setIndexEndpoint(IndexEndpoint.Builder builderForValue)Required. The resource being created.
.google.cloud.visionai.v1.IndexEndpoint index_endpoint = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
IndexEndpoint.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateIndexEndpointRequest.Builder |
|
setIndexEndpointId(String value)
public CreateIndexEndpointRequest.Builder setIndexEndpointId(String value)Optional. The ID to use for the IndexEndpoint, which will become the final component of the IndexEndpoint's resource name if the user specifies it. Otherwise, IndexEndpoint id will be autogenerated.
This value should be up to 63 characters, and valid characters are a-z, 0-9 and dash (-). The first character must be a letter, the last must be a letter or a number.
string index_endpoint_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe indexEndpointId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateIndexEndpointRequest.Builder |
This builder for chaining. |
setIndexEndpointIdBytes(ByteString value)
public CreateIndexEndpointRequest.Builder setIndexEndpointIdBytes(ByteString value)Optional. The ID to use for the IndexEndpoint, which will become the final component of the IndexEndpoint's resource name if the user specifies it. Otherwise, IndexEndpoint id will be autogenerated.
This value should be up to 63 characters, and valid characters are a-z, 0-9 and dash (-). The first character must be a letter, the last must be a letter or a number.
string index_endpoint_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for indexEndpointId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateIndexEndpointRequest.Builder |
This builder for chaining. |
setParent(String value)
public CreateIndexEndpointRequest.Builder setParent(String value) Required. Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateIndexEndpointRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateIndexEndpointRequest.Builder setParentBytes(ByteString value) Required. Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateIndexEndpointRequest.Builder |
This builder for chaining. |