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