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()
Methods
public CreateEndpointRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public CreateEndpointRequest build()
public CreateEndpointRequest buildPartial()
public CreateEndpointRequest.Builder clear()
Overrides
public CreateEndpointRequest.Builder clearEndpoint()
Required. The Endpoint to create.
.google.cloud.aiplatform.v1.Endpoint endpoint = 2 [(.google.api.field_behavior) = REQUIRED];
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.
If the first character is a letter, this value may be up to 63 characters,
and valid characters are [a-z0-9-]
. The last character must be a letter
or number.
If the first character is a number, this value may be up to 9 characters,
and valid characters are [0-9]
with no leading zeros.
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];
public CreateEndpointRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public CreateEndpointRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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) = { ... }
public CreateEndpointRequest.Builder clone()
Overrides
public CreateEndpointRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public Endpoint getEndpoint()
Required. The Endpoint to create.
.google.cloud.aiplatform.v1.Endpoint endpoint = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
Endpoint | The endpoint.
|
public Endpoint.Builder getEndpointBuilder()
Required. The Endpoint to create.
.google.cloud.aiplatform.v1.Endpoint endpoint = 2 [(.google.api.field_behavior) = REQUIRED];
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.
If the first character is a letter, this value may be up to 63 characters,
and valid characters are [a-z0-9-]
. The last character must be a letter
or number.
If the first character is a number, this value may be up to 9 characters,
and valid characters are [0-9]
with no leading zeros.
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.
If the first character is a letter, this value may be up to 63 characters,
and valid characters are [a-z0-9-]
. The last character must be a letter
or number.
If the first character is a number, this value may be up to 9 characters,
and valid characters are [0-9]
with no leading zeros.
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];
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 |
---|
Type | Description |
ByteString | The bytes for parent.
|
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()
Overrides
public final boolean isInitialized()
Overrides
public CreateEndpointRequest.Builder mergeEndpoint(Endpoint value)
Required. The Endpoint to create.
.google.cloud.aiplatform.v1.Endpoint endpoint = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateEndpointRequest.Builder mergeFrom(CreateEndpointRequest other)
public CreateEndpointRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public CreateEndpointRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final CreateEndpointRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public CreateEndpointRequest.Builder setEndpoint(Endpoint value)
Required. The Endpoint to create.
.google.cloud.aiplatform.v1.Endpoint endpoint = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateEndpointRequest.Builder setEndpoint(Endpoint.Builder builderForValue)
Required. The Endpoint to create.
.google.cloud.aiplatform.v1.Endpoint endpoint = 2 [(.google.api.field_behavior) = REQUIRED];
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.
If the first character is a letter, this value may be up to 63 characters,
and valid characters are [a-z0-9-]
. The last character must be a letter
or number.
If the first character is a number, this value may be up to 9 characters,
and valid characters are [0-9]
with no leading zeros.
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.
|
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.
If the first character is a letter, this value may be up to 63 characters,
and valid characters are [a-z0-9-]
. The last character must be a letter
or number.
If the first character is a number, this value may be up to 9 characters,
and valid characters are [0-9]
with no leading zeros.
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.
|
public CreateEndpointRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
public CreateEndpointRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final CreateEndpointRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides