Class ClusterInfo.Builder (0.40.0)

public static final class ClusterInfo.Builder extends GeneratedMessage.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

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

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.

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 GeneratedMessage.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

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.

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.