public static final class ClusterInfo.Builder extends GeneratedMessageV3.Builder<ClusterInfo.Builder> implements ClusterInfoOrBuilder
Protobuf type google.cloud.visionai.v1.ClusterInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ClusterInfo.BuilderImplements
ClusterInfoOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public ClusterInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ClusterInfo.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ClusterInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ClusterInfo.Builder |
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 |
getDefaultInstanceForType()
public ClusterInfo getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ClusterInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ClusterInfo.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ClusterInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ClusterInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ClusterInfo.Builder |
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 |
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 |
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 |