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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
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 clearEndpointId()
Immutable. The ID to use for endpoint, which will become the final
component of the endpoint resource name.
If not provided, Vertex AI will generate a value for this ID.
This value should be 1-10 characters, and valid characters are /[0-9]/.
When using HTTP/JSON, this field is populated based on a query string
argument, such as ?endpoint_id=12345
. This is the fallback for fields
that are not included in either the URI or the body.
string endpoint_id = 4 [(.google.api.field_behavior) = IMMUTABLE];
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 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 String getEndpointId()
Immutable. The ID to use for endpoint, which will become the final
component of the endpoint resource name.
If not provided, Vertex AI will generate a value for this ID.
This value should be 1-10 characters, and valid characters are /[0-9]/.
When using HTTP/JSON, this field is populated based on a query string
argument, such as ?endpoint_id=12345
. This is the fallback for fields
that are not included in either the URI or the body.
string endpoint_id = 4 [(.google.api.field_behavior) = IMMUTABLE];
Returns
Type | Description |
String | The endpointId.
|
public ByteString getEndpointIdBytes()
Immutable. The ID to use for endpoint, which will become the final
component of the endpoint resource name.
If not provided, Vertex AI will generate a value for this ID.
This value should be 1-10 characters, and valid characters are /[0-9]/.
When using HTTP/JSON, this field is populated based on a query string
argument, such as ?endpoint_id=12345
. This is the fallback for fields
that are not included in either the URI or the body.
string endpoint_id = 4 [(.google.api.field_behavior) = IMMUTABLE];
Returns
Type | Description |
ByteString | The bytes for endpointId.
|
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 setEndpointId(String value)
Immutable. The ID to use for endpoint, which will become the final
component of the endpoint resource name.
If not provided, Vertex AI will generate a value for this ID.
This value should be 1-10 characters, and valid characters are /[0-9]/.
When using HTTP/JSON, this field is populated based on a query string
argument, such as ?endpoint_id=12345
. This is the fallback for fields
that are not included in either the URI or the body.
string endpoint_id = 4 [(.google.api.field_behavior) = IMMUTABLE];
Parameter
Name | Description |
value | String
The endpointId to set.
|
Returns
public CreateEndpointRequest.Builder setEndpointIdBytes(ByteString value)
Immutable. The ID to use for endpoint, which will become the final
component of the endpoint resource name.
If not provided, Vertex AI will generate a value for this ID.
This value should be 1-10 characters, and valid characters are /[0-9]/.
When using HTTP/JSON, this field is populated based on a query string
argument, such as ?endpoint_id=12345
. This is the fallback for fields
that are not included in either the URI or the body.
string endpoint_id = 4 [(.google.api.field_behavior) = IMMUTABLE];
Parameter
Name | Description |
value | ByteString
The bytes for endpointId to set.
|
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