public static final class DeployedIndexRef.Builder extends GeneratedMessageV3.Builder<DeployedIndexRef.Builder> implements DeployedIndexRefOrBuilder
Points to a DeployedIndex.
Protobuf type google.cloud.aiplatform.v1beta1.DeployedIndexRef
Methods
public DeployedIndexRef.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public DeployedIndexRef build()
Returns
public DeployedIndexRef buildPartial()
Returns
public DeployedIndexRef.Builder clear()
Returns
Overrides
public DeployedIndexRef.Builder clearDeployedIndexId()
Immutable. The ID of the DeployedIndex in the above IndexEndpoint.
string deployed_index_id = 2 [(.google.api.field_behavior) = IMMUTABLE];
Returns
public DeployedIndexRef.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public DeployedIndexRef.Builder clearIndexEndpoint()
Immutable. A resource name of the IndexEndpoint.
string index_endpoint = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
Returns
public DeployedIndexRef.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public DeployedIndexRef.Builder clone()
Returns
Overrides
public DeployedIndexRef getDefaultInstanceForType()
Returns
public String getDeployedIndexId()
Immutable. The ID of the DeployedIndex in the above IndexEndpoint.
string deployed_index_id = 2 [(.google.api.field_behavior) = IMMUTABLE];
Returns
Type | Description |
String | The deployedIndexId.
|
public ByteString getDeployedIndexIdBytes()
Immutable. The ID of the DeployedIndex in the above IndexEndpoint.
string deployed_index_id = 2 [(.google.api.field_behavior) = IMMUTABLE];
Returns
Type | Description |
ByteString | The bytes for deployedIndexId.
|
public static final Descriptors.Descriptor getDescriptor()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public String getIndexEndpoint()
Immutable. A resource name of the IndexEndpoint.
string index_endpoint = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The indexEndpoint.
|
public ByteString getIndexEndpointBytes()
Immutable. A resource name of the IndexEndpoint.
string index_endpoint = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
ByteString | The bytes for indexEndpoint.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public DeployedIndexRef.Builder mergeFrom(DeployedIndexRef other)
Parameter
Returns
public DeployedIndexRef.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public DeployedIndexRef.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final DeployedIndexRef.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public DeployedIndexRef.Builder setDeployedIndexId(String value)
Immutable. The ID of the DeployedIndex in the above IndexEndpoint.
string deployed_index_id = 2 [(.google.api.field_behavior) = IMMUTABLE];
Parameter
Name | Description |
value | String
The deployedIndexId to set.
|
Returns
public DeployedIndexRef.Builder setDeployedIndexIdBytes(ByteString value)
Immutable. The ID of the DeployedIndex in the above IndexEndpoint.
string deployed_index_id = 2 [(.google.api.field_behavior) = IMMUTABLE];
Parameter
Name | Description |
value | ByteString
The bytes for deployedIndexId to set.
|
Returns
public DeployedIndexRef.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public DeployedIndexRef.Builder setIndexEndpoint(String value)
Immutable. A resource name of the IndexEndpoint.
string index_endpoint = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The indexEndpoint to set.
|
Returns
public DeployedIndexRef.Builder setIndexEndpointBytes(ByteString value)
Immutable. A resource name of the IndexEndpoint.
string index_endpoint = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for indexEndpoint to set.
|
Returns
public DeployedIndexRef.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final DeployedIndexRef.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides