Class UndeployIndexRequest.Builder (0.10.0)

public static final class UndeployIndexRequest.Builder extends GeneratedMessageV3.Builder<UndeployIndexRequest.Builder> implements UndeployIndexRequestOrBuilder

Request message for UndeployIndexEndpoint.

Protobuf type google.cloud.visionai.v1.UndeployIndexRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UndeployIndexRequest build()
Returns
Type Description
UndeployIndexRequest

buildPartial()

public UndeployIndexRequest buildPartial()
Returns
Type Description
UndeployIndexRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearIndexEndpoint()

public UndeployIndexRequest.Builder clearIndexEndpoint()

Required. Resource name of the IndexEndpoint resource on which the undeployment will act. Format: projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}

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

Returns
Type Description
UndeployIndexRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public UndeployIndexRequest getDefaultInstanceForType()
Returns
Type Description
UndeployIndexRequest

getDescriptorForType()

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

getIndexEndpoint()

public String getIndexEndpoint()

Required. Resource name of the IndexEndpoint resource on which the undeployment will act. Format: projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}

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

Returns
Type Description
String

The indexEndpoint.

getIndexEndpointBytes()

public ByteString getIndexEndpointBytes()

Required. Resource name of the IndexEndpoint resource on which the undeployment will act. Format: projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}

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

Returns
Type Description
ByteString

The bytes for indexEndpoint.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UndeployIndexRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setIndexEndpoint(String value)

public UndeployIndexRequest.Builder setIndexEndpoint(String value)

Required. Resource name of the IndexEndpoint resource on which the undeployment will act. Format: projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}

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

Parameter
Name Description
value String

The indexEndpoint to set.

Returns
Type Description
UndeployIndexRequest.Builder

This builder for chaining.

setIndexEndpointBytes(ByteString value)

public UndeployIndexRequest.Builder setIndexEndpointBytes(ByteString value)

Required. Resource name of the IndexEndpoint resource on which the undeployment will act. Format: projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}

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

Parameter
Name Description
value ByteString

The bytes for indexEndpoint to set.

Returns
Type Description
UndeployIndexRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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