public static final class CreateEndpointRequest.Builder extends GeneratedMessageV3.Builder<CreateEndpointRequest.Builder> implements CreateEndpointRequestOrBuilder
Request message for EndpointService.CreateEndpoint.
Protobuf type google.cloud.aiplatform.v1.CreateEndpointRequest
Methods
public CreateEndpointRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CreateEndpointRequest build()
Returns
public CreateEndpointRequest buildPartial()
Returns
public CreateEndpointRequest.Builder clear()
Returns
Overrides
public CreateEndpointRequest.Builder clearEndpoint()
Required. The Endpoint to create.
.google.cloud.aiplatform.v1.Endpoint endpoint = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public CreateEndpointRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public CreateEndpointRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public CreateEndpointRequest.Builder clearParent()
Required. The resource name of the Location to create the Endpoint in.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public CreateEndpointRequest.Builder clone()
Returns
Overrides
public CreateEndpointRequest getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public Endpoint getEndpoint()
Required. The Endpoint to create.
.google.cloud.aiplatform.v1.Endpoint endpoint = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public Endpoint.Builder getEndpointBuilder()
Required. The Endpoint to create.
.google.cloud.aiplatform.v1.Endpoint endpoint = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public EndpointOrBuilder getEndpointOrBuilder()
Required. The Endpoint to create.
.google.cloud.aiplatform.v1.Endpoint endpoint = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public String getParent()
Required. The resource name of the Location to create the Endpoint in.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The parent.
|
public ByteString getParentBytes()
Required. The resource name of the Location to create the Endpoint in.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public boolean hasEndpoint()
Required. The Endpoint to create.
.google.cloud.aiplatform.v1.Endpoint endpoint = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the endpoint field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public CreateEndpointRequest.Builder mergeEndpoint(Endpoint value)
Required. The Endpoint to create.
.google.cloud.aiplatform.v1.Endpoint endpoint = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public CreateEndpointRequest.Builder mergeFrom(CreateEndpointRequest other)
Parameter
Returns
public CreateEndpointRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public CreateEndpointRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final CreateEndpointRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public CreateEndpointRequest.Builder setEndpoint(Endpoint value)
Required. The Endpoint to create.
.google.cloud.aiplatform.v1.Endpoint endpoint = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public CreateEndpointRequest.Builder setEndpoint(Endpoint.Builder builderForValue)
Required. The Endpoint to create.
.google.cloud.aiplatform.v1.Endpoint endpoint = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public CreateEndpointRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CreateEndpointRequest.Builder setParent(String value)
Required. The resource name of the Location to create the Endpoint in.
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
public CreateEndpointRequest.Builder setParentBytes(ByteString value)
Required. The resource name of the Location to create the Endpoint in.
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
public CreateEndpointRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final CreateEndpointRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides