public static final class GetEndpointRequest.Builder extends GeneratedMessageV3.Builder<GetEndpointRequest.Builder> implements GetEndpointRequestOrBuilder
Request message for EndpointService.GetEndpoint
Protobuf type google.cloud.aiplatform.v1beta1.GetEndpointRequest
Methods
public GetEndpointRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public GetEndpointRequest build()
Returns
public GetEndpointRequest buildPartial()
Returns
public GetEndpointRequest.Builder clear()
Returns
Overrides
public GetEndpointRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public GetEndpointRequest.Builder clearName()
Required. The name of the Endpoint resource.
Format:
projects/{project}/locations/{location}/endpoints/{endpoint}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public GetEndpointRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public GetEndpointRequest.Builder clone()
Returns
Overrides
public GetEndpointRequest getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
Required. The name of the Endpoint resource.
Format:
projects/{project}/locations/{location}/endpoints/{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 Endpoint resource.
Format:
projects/{project}/locations/{location}/endpoints/{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 GetEndpointRequest.Builder mergeFrom(GetEndpointRequest other)
Parameter
Returns
public GetEndpointRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public GetEndpointRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final GetEndpointRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public GetEndpointRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public GetEndpointRequest.Builder setName(String value)
Required. The name of the Endpoint resource.
Format:
projects/{project}/locations/{location}/endpoints/{endpoint}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The name to set.
|
Returns
public GetEndpointRequest.Builder setNameBytes(ByteString value)
Required. The name of the Endpoint resource.
Format:
projects/{project}/locations/{location}/endpoints/{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 GetEndpointRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final GetEndpointRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides