Class ClusterInfo.Builder (0.2.0)

public static final class ClusterInfo.Builder extends GeneratedMessageV3.Builder<ClusterInfo.Builder> implements ClusterInfoOrBuilder

Protobuf type google.cloud.visionai.v1.ClusterInfo

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ClusterInfo build()
Returns
Type Description
ClusterInfo

buildPartial()

public ClusterInfo buildPartial()
Returns
Type Description
ClusterInfo

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProcessesCount()

public ClusterInfo.Builder clearProcessesCount()

The number of active processes in the cluster.

int32 processes_count = 2;

Returns
Type Description
ClusterInfo.Builder

This builder for chaining.

clearStreamsCount()

public ClusterInfo.Builder clearStreamsCount()

The number of active streams in the cluster.

int32 streams_count = 1;

Returns
Type Description
ClusterInfo.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ClusterInfo getDefaultInstanceForType()
Returns
Type Description
ClusterInfo

getDescriptorForType()

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

getProcessesCount()

public int getProcessesCount()

The number of active processes in the cluster.

int32 processes_count = 2;

Returns
Type Description
int

The processesCount.

getStreamsCount()

public int getStreamsCount()

The number of active streams in the cluster.

int32 streams_count = 1;

Returns
Type Description
int

The streamsCount.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ClusterInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setProcessesCount(int value)

public ClusterInfo.Builder setProcessesCount(int value)

The number of active processes in the cluster.

int32 processes_count = 2;

Parameter
Name Description
value int

The processesCount to set.

Returns
Type Description
ClusterInfo.Builder

This builder for chaining.

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

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

setStreamsCount(int value)

public ClusterInfo.Builder setStreamsCount(int value)

The number of active streams in the cluster.

int32 streams_count = 1;

Parameter
Name Description
value int

The streamsCount to set.

Returns
Type Description
ClusterInfo.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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