public static final class SpokeSummary.SpokeStateCount.Builder extends GeneratedMessageV3.Builder<SpokeSummary.SpokeStateCount.Builder> implements SpokeSummary.SpokeStateCountOrBuilder
The number of spokes that are in a particular state
and associated with a given hub.
Protobuf type google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateCount
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SpokeSummary.SpokeStateCount.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SpokeSummary.SpokeStateCount build()
buildPartial()
public SpokeSummary.SpokeStateCount buildPartial()
clear()
public SpokeSummary.SpokeStateCount.Builder clear()
Overrides
clearCount()
public SpokeSummary.SpokeStateCount.Builder clearCount()
Output only. The total number of spokes that are in this state
and associated with a given hub.
int64 count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearField(Descriptors.FieldDescriptor field)
public SpokeSummary.SpokeStateCount.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SpokeSummary.SpokeStateCount.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearState()
public SpokeSummary.SpokeStateCount.Builder clearState()
Output only. The state of the spokes.
.google.cloud.networkconnectivity.v1.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
clone()
public SpokeSummary.SpokeStateCount.Builder clone()
Overrides
getCount()
Output only. The total number of spokes that are in this state
and associated with a given hub.
int64 count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
long | The count.
|
getDefaultInstanceForType()
public SpokeSummary.SpokeStateCount getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getState()
Output only. The state of the spokes.
.google.cloud.networkconnectivity.v1.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
State | The state.
|
getStateValue()
public int getStateValue()
Output only. The state of the spokes.
.google.cloud.networkconnectivity.v1.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for state.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SpokeSummary.SpokeStateCount other)
public SpokeSummary.SpokeStateCount.Builder mergeFrom(SpokeSummary.SpokeStateCount other)
public SpokeSummary.SpokeStateCount.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SpokeSummary.SpokeStateCount.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SpokeSummary.SpokeStateCount.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCount(long value)
public SpokeSummary.SpokeStateCount.Builder setCount(long value)
Output only. The total number of spokes that are in this state
and associated with a given hub.
int64 count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
value | long
The count to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public SpokeSummary.SpokeStateCount.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SpokeSummary.SpokeStateCount.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setState(State value)
public SpokeSummary.SpokeStateCount.Builder setState(State value)
Output only. The state of the spokes.
.google.cloud.networkconnectivity.v1.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
value | State
The state to set.
|
setStateValue(int value)
public SpokeSummary.SpokeStateCount.Builder setStateValue(int value)
Output only. The state of the spokes.
.google.cloud.networkconnectivity.v1.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
value | int
The enum numeric value on the wire for state to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final SpokeSummary.SpokeStateCount.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides