Class CreateEndpointRequest.Builder (0.1.0)

publicstaticfinalclass CreateEndpointRequest.BuilderextendsGeneratedMessageV3.Builder<CreateEndpointRequest.Builder>implementsCreateEndpointRequestOrBuilder

Request message for EndpointService.CreateEndpoint.

Protobuf type google.cloud.vertexai.v1beta1.CreateEndpointRequest

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicCreateEndpointRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateEndpointRequest.Builder
Overrides

build()

publicCreateEndpointRequestbuild()
Returns
Type Description
CreateEndpointRequest

buildPartial()

publicCreateEndpointRequestbuildPartial()
Returns
Type Description
CreateEndpointRequest

clear()

publicCreateEndpointRequest.Builderclear()
Returns
Type Description
CreateEndpointRequest.Builder
Overrides

clearEndpoint()

publicCreateEndpointRequest.BuilderclearEndpoint()

Required. The Endpoint to create.

.google.cloud.vertexai.v1beta1.Endpoint endpoint = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateEndpointRequest.Builder

clearEndpointId()

publicCreateEndpointRequest.BuilderclearEndpointId()

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
CreateEndpointRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

publicCreateEndpointRequest.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateEndpointRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

publicCreateEndpointRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateEndpointRequest.Builder
Overrides

clearParent()

publicCreateEndpointRequest.BuilderclearParent()

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
CreateEndpointRequest.Builder

This builder for chaining.

clone()

publicCreateEndpointRequest.Builderclone()
Returns
Type Description
CreateEndpointRequest.Builder
Overrides

getDefaultInstanceForType()

publicCreateEndpointRequestgetDefaultInstanceForType()
Returns
Type Description
CreateEndpointRequest

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEndpoint()

publicEndpointgetEndpoint()

Required. The Endpoint to create.

.google.cloud.vertexai.v1beta1.Endpoint endpoint = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Endpoint

The endpoint.

getEndpointBuilder()

publicEndpoint.BuildergetEndpointBuilder()

Required. The Endpoint to create.

.google.cloud.vertexai.v1beta1.Endpoint endpoint = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Endpoint.Builder

getEndpointId()

publicStringgetEndpointId()

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.

getEndpointIdBytes()

publicByteStringgetEndpointIdBytes()

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.

getEndpointOrBuilder()

publicEndpointOrBuildergetEndpointOrBuilder()

Required. The Endpoint to create.

.google.cloud.vertexai.v1beta1.Endpoint endpoint = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EndpointOrBuilder

getParent()

publicStringgetParent()

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.

getParentBytes()

publicByteStringgetParentBytes()

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.

hasEndpoint()

publicbooleanhasEndpoint()

Required. The Endpoint to create.

.google.cloud.vertexai.v1beta1.Endpoint endpoint = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the endpoint field is set.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeEndpoint(Endpoint value)

publicCreateEndpointRequest.BuildermergeEndpoint(Endpointvalue)

Required. The Endpoint to create.

.google.cloud.vertexai.v1beta1.Endpoint endpoint = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Endpoint
Returns
Type Description
CreateEndpointRequest.Builder

mergeFrom(CreateEndpointRequest other)

publicCreateEndpointRequest.BuildermergeFrom(CreateEndpointRequestother)
Parameter
Name Description
other CreateEndpointRequest
Returns
Type Description
CreateEndpointRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicCreateEndpointRequest.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateEndpointRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicCreateEndpointRequest.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
CreateEndpointRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalCreateEndpointRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateEndpointRequest.Builder
Overrides

setEndpoint(Endpoint value)

publicCreateEndpointRequest.BuildersetEndpoint(Endpointvalue)

Required. The Endpoint to create.

.google.cloud.vertexai.v1beta1.Endpoint endpoint = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Endpoint
Returns
Type Description
CreateEndpointRequest.Builder

setEndpoint(Endpoint.Builder builderForValue)

publicCreateEndpointRequest.BuildersetEndpoint(Endpoint.BuilderbuilderForValue)

Required. The Endpoint to create.

.google.cloud.vertexai.v1beta1.Endpoint endpoint = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Endpoint.Builder
Returns
Type Description
CreateEndpointRequest.Builder

setEndpointId(String value)

publicCreateEndpointRequest.BuildersetEndpointId(Stringvalue)

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.

Returns
Type Description
CreateEndpointRequest.Builder

This builder for chaining.

setEndpointIdBytes(ByteString value)

publicCreateEndpointRequest.BuildersetEndpointIdBytes(ByteStringvalue)

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.

Returns
Type Description
CreateEndpointRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

publicCreateEndpointRequest.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateEndpointRequest.Builder
Overrides

setParent(String value)

publicCreateEndpointRequest.BuildersetParent(Stringvalue)

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
Type Description
CreateEndpointRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

publicCreateEndpointRequest.BuildersetParentBytes(ByteStringvalue)

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
Type Description
CreateEndpointRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

publicCreateEndpointRequest.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateEndpointRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalCreateEndpointRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateEndpointRequest.Builder
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.