public static final class GetIndexEndpointRequest.Builder extends GeneratedMessageV3.Builder<GetIndexEndpointRequest.Builder> implements GetIndexEndpointRequestOrBuilder
Request message for IndexEndpointService.GetIndexEndpoint
Protobuf type google.cloud.aiplatform.v1.GetIndexEndpointRequest
Methods
public GetIndexEndpointRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public GetIndexEndpointRequest build()
Returns
public GetIndexEndpointRequest buildPartial()
Returns
public GetIndexEndpointRequest.Builder clear()
Returns
Overrides
public GetIndexEndpointRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public GetIndexEndpointRequest.Builder clearName()
Required. The name of the IndexEndpoint resource.
Format:
projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public GetIndexEndpointRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public GetIndexEndpointRequest.Builder clone()
Returns
Overrides
public GetIndexEndpointRequest getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
Required. The name of the IndexEndpoint resource.
Format:
projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The name.
|
public ByteString getNameBytes()
Required. The name of the IndexEndpoint resource.
Format:
projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public GetIndexEndpointRequest.Builder mergeFrom(GetIndexEndpointRequest other)
Parameter
Returns
public GetIndexEndpointRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public GetIndexEndpointRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final GetIndexEndpointRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public GetIndexEndpointRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public GetIndexEndpointRequest.Builder setName(String value)
Required. The name of the IndexEndpoint resource.
Format:
projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The name to set.
|
Returns
public GetIndexEndpointRequest.Builder setNameBytes(ByteString value)
Required. The name of the IndexEndpoint resource.
Format:
projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
public GetIndexEndpointRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final GetIndexEndpointRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides