Class DeployedIndexReference.Builder (0.11.0)

public static final class DeployedIndexReference.Builder extends GeneratedMessageV3.Builder<DeployedIndexReference.Builder> implements DeployedIndexReferenceOrBuilder

Points to a DeployedIndex.

Protobuf type google.cloud.visionai.v1.DeployedIndexReference

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeployedIndexReference build()
Returns
Type Description
DeployedIndexReference

buildPartial()

public DeployedIndexReference buildPartial()
Returns
Type Description
DeployedIndexReference

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearIndexEndpoint()

public DeployedIndexReference.Builder clearIndexEndpoint()

Immutable. A resource name of the IndexEndpoint.

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

Returns
Type Description
DeployedIndexReference.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeployedIndexReference getDefaultInstanceForType()
Returns
Type Description
DeployedIndexReference

getDescriptorForType()

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

getIndexEndpoint()

public String getIndexEndpoint()

Immutable. A resource name of the IndexEndpoint.

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

Returns
Type Description
String

The indexEndpoint.

getIndexEndpointBytes()

public ByteString getIndexEndpointBytes()

Immutable. A resource name of the IndexEndpoint.

string index_endpoint = 1 [(.google.api.field_behavior) = IMMUTABLE, (.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(DeployedIndexReference other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setIndexEndpoint(String value)

public DeployedIndexReference.Builder setIndexEndpoint(String value)

Immutable. A resource name of the IndexEndpoint.

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

Parameter
Name Description
value String

The indexEndpoint to set.

Returns
Type Description
DeployedIndexReference.Builder

This builder for chaining.

setIndexEndpointBytes(ByteString value)

public DeployedIndexReference.Builder setIndexEndpointBytes(ByteString value)

Immutable. A resource name of the IndexEndpoint.

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

Parameter
Name Description
value ByteString

The bytes for indexEndpoint to set.

Returns
Type Description
DeployedIndexReference.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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