public static final class CreateIndexEndpointRequest.Builder extends GeneratedMessageV3.Builder<CreateIndexEndpointRequest.Builder> implements CreateIndexEndpointRequestOrBuilder
Request message for CreateIndexEndpoint.
Protobuf type google.cloud.visionai.v1.CreateIndexEndpointRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateIndexEndpointRequest.BuilderImplements
CreateIndexEndpointRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateIndexEndpointRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateIndexEndpointRequest.Builder |
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 |
clearField(Descriptors.FieldDescriptor field)
public CreateIndexEndpointRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
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. |
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateIndexEndpointRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
CreateIndexEndpointRequest.Builder |
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. |
clone()
public CreateIndexEndpointRequest.Builder clone()
Returns | |
---|---|
Type | Description |
CreateIndexEndpointRequest.Builder |
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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateIndexEndpointRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CreateIndexEndpointRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CreateIndexEndpointRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
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 |
String The 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 |
ByteString The 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 |
String The 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 |
ByteString The bytes for parent to set. |
Returns | |
---|---|
Type | Description |
CreateIndexEndpointRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateIndexEndpointRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateIndexEndpointRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateIndexEndpointRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CreateIndexEndpointRequest.Builder |