Class CreateIndexEndpointRequest.Builder (3.52.0)

public static final class CreateIndexEndpointRequest.Builder extends GeneratedMessageV3.Builder<CreateIndexEndpointRequest.Builder> implements CreateIndexEndpointRequestOrBuilder

Request message for IndexEndpointService.CreateIndexEndpoint.

Protobuf type google.cloud.aiplatform.v1.CreateIndexEndpointRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateIndexEndpointRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateIndexEndpointRequest.Builder
Overrides

build()

public CreateIndexEndpointRequest build()
Returns
Type Description
CreateIndexEndpointRequest

buildPartial()

public CreateIndexEndpointRequest buildPartial()
Returns
Type Description
CreateIndexEndpointRequest

clear()

public CreateIndexEndpointRequest.Builder clear()
Returns
Type Description
CreateIndexEndpointRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreateIndexEndpointRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateIndexEndpointRequest.Builder
Overrides

clearIndexEndpoint()

public CreateIndexEndpointRequest.Builder clearIndexEndpoint()

Required. The IndexEndpoint to create.

.google.cloud.aiplatform.v1.IndexEndpoint index_endpoint = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateIndexEndpointRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateIndexEndpointRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateIndexEndpointRequest.Builder
Overrides

clearParent()

public CreateIndexEndpointRequest.Builder clearParent()

Required. The resource name of the Location to create the IndexEndpoint in. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateIndexEndpointRequest.Builder

This builder for chaining.

clone()

public CreateIndexEndpointRequest.Builder clone()
Returns
Type Description
CreateIndexEndpointRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateIndexEndpointRequest getDefaultInstanceForType()
Returns
Type Description
CreateIndexEndpointRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getIndexEndpoint()

public IndexEndpoint getIndexEndpoint()

Required. The IndexEndpoint to create.

.google.cloud.aiplatform.v1.IndexEndpoint index_endpoint = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
IndexEndpoint

The indexEndpoint.

getIndexEndpointBuilder()

public IndexEndpoint.Builder getIndexEndpointBuilder()

Required. The IndexEndpoint to create.

.google.cloud.aiplatform.v1.IndexEndpoint index_endpoint = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
IndexEndpoint.Builder

getIndexEndpointOrBuilder()

public IndexEndpointOrBuilder getIndexEndpointOrBuilder()

Required. The IndexEndpoint to create.

.google.cloud.aiplatform.v1.IndexEndpoint index_endpoint = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
IndexEndpointOrBuilder

getParent()

public String getParent()

Required. The resource name of the Location to create the IndexEndpoint 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()

public ByteString getParentBytes()

Required. The resource name of the Location to create the IndexEndpoint 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.

hasIndexEndpoint()

public boolean hasIndexEndpoint()

Required. The IndexEndpoint to create.

.google.cloud.aiplatform.v1.IndexEndpoint index_endpoint = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the indexEndpoint field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateIndexEndpointRequest other)

public CreateIndexEndpointRequest.Builder mergeFrom(CreateIndexEndpointRequest other)
Parameter
Name Description
other CreateIndexEndpointRequest
Returns
Type Description
CreateIndexEndpointRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateIndexEndpointRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateIndexEndpointRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateIndexEndpointRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateIndexEndpointRequest.Builder
Overrides

mergeIndexEndpoint(IndexEndpoint value)

public CreateIndexEndpointRequest.Builder mergeIndexEndpoint(IndexEndpoint value)

Required. The IndexEndpoint to create.

.google.cloud.aiplatform.v1.IndexEndpoint index_endpoint = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value IndexEndpoint
Returns
Type Description
CreateIndexEndpointRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateIndexEndpointRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateIndexEndpointRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreateIndexEndpointRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateIndexEndpointRequest.Builder
Overrides

setIndexEndpoint(IndexEndpoint value)

public CreateIndexEndpointRequest.Builder setIndexEndpoint(IndexEndpoint value)

Required. The IndexEndpoint to create.

.google.cloud.aiplatform.v1.IndexEndpoint index_endpoint = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value IndexEndpoint
Returns
Type Description
CreateIndexEndpointRequest.Builder

setIndexEndpoint(IndexEndpoint.Builder builderForValue)

public CreateIndexEndpointRequest.Builder setIndexEndpoint(IndexEndpoint.Builder builderForValue)

Required. The IndexEndpoint to create.

.google.cloud.aiplatform.v1.IndexEndpoint index_endpoint = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue IndexEndpoint.Builder
Returns
Type Description
CreateIndexEndpointRequest.Builder

setParent(String value)

public CreateIndexEndpointRequest.Builder setParent(String value)

Required. The resource name of the Location to create the IndexEndpoint 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
CreateIndexEndpointRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateIndexEndpointRequest.Builder setParentBytes(ByteString value)

Required. The resource name of the Location to create the IndexEndpoint 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
CreateIndexEndpointRequest.Builder

This builder for chaining.

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

public CreateIndexEndpointRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateIndexEndpointRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateIndexEndpointRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateIndexEndpointRequest.Builder
Overrides