Class SpokeSummary.Builder (1.40.0)

public static final class SpokeSummary.Builder extends GeneratedMessageV3.Builder<SpokeSummary.Builder> implements SpokeSummaryOrBuilder

Summarizes information about the spokes associated with a hub. The summary includes a count of spokes according to type and according to state. If any spokes are inactive, the summary also lists the reasons they are inactive, including a count for each reason.

Protobuf type google.cloud.networkconnectivity.v1.SpokeSummary

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllSpokeStateCounts(Iterable<? extends SpokeSummary.SpokeStateCount> values)

public SpokeSummary.Builder addAllSpokeStateCounts(Iterable<? extends SpokeSummary.SpokeStateCount> values)

Output only. Counts the number of spokes that are in each state and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateCount spoke_state_counts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateCount>
Returns
TypeDescription
SpokeSummary.Builder

addAllSpokeStateReasonCounts(Iterable<? extends SpokeSummary.SpokeStateReasonCount> values)

public SpokeSummary.Builder addAllSpokeStateReasonCounts(Iterable<? extends SpokeSummary.SpokeStateReasonCount> values)

Output only. Counts the number of spokes that are inactive for each possible reason and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateReasonCount spoke_state_reason_counts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateReasonCount>
Returns
TypeDescription
SpokeSummary.Builder

addAllSpokeTypeCounts(Iterable<? extends SpokeSummary.SpokeTypeCount> values)

public SpokeSummary.Builder addAllSpokeTypeCounts(Iterable<? extends SpokeSummary.SpokeTypeCount> values)

Output only. Counts the number of spokes of each type that are associated with a specific hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeTypeCount spoke_type_counts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.networkconnectivity.v1.SpokeSummary.SpokeTypeCount>
Returns
TypeDescription
SpokeSummary.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SpokeSummary.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SpokeSummary.Builder
Overrides

addSpokeStateCounts(SpokeSummary.SpokeStateCount value)

public SpokeSummary.Builder addSpokeStateCounts(SpokeSummary.SpokeStateCount value)

Output only. Counts the number of spokes that are in each state and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateCount spoke_state_counts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueSpokeSummary.SpokeStateCount
Returns
TypeDescription
SpokeSummary.Builder

addSpokeStateCounts(SpokeSummary.SpokeStateCount.Builder builderForValue)

public SpokeSummary.Builder addSpokeStateCounts(SpokeSummary.SpokeStateCount.Builder builderForValue)

Output only. Counts the number of spokes that are in each state and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateCount spoke_state_counts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueSpokeSummary.SpokeStateCount.Builder
Returns
TypeDescription
SpokeSummary.Builder

addSpokeStateCounts(int index, SpokeSummary.SpokeStateCount value)

public SpokeSummary.Builder addSpokeStateCounts(int index, SpokeSummary.SpokeStateCount value)

Output only. Counts the number of spokes that are in each state and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateCount spoke_state_counts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
valueSpokeSummary.SpokeStateCount
Returns
TypeDescription
SpokeSummary.Builder

addSpokeStateCounts(int index, SpokeSummary.SpokeStateCount.Builder builderForValue)

public SpokeSummary.Builder addSpokeStateCounts(int index, SpokeSummary.SpokeStateCount.Builder builderForValue)

Output only. Counts the number of spokes that are in each state and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateCount spoke_state_counts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
builderForValueSpokeSummary.SpokeStateCount.Builder
Returns
TypeDescription
SpokeSummary.Builder

addSpokeStateCountsBuilder()

public SpokeSummary.SpokeStateCount.Builder addSpokeStateCountsBuilder()

Output only. Counts the number of spokes that are in each state and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateCount spoke_state_counts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
SpokeSummary.SpokeStateCount.Builder

addSpokeStateCountsBuilder(int index)

public SpokeSummary.SpokeStateCount.Builder addSpokeStateCountsBuilder(int index)

Output only. Counts the number of spokes that are in each state and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateCount spoke_state_counts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
SpokeSummary.SpokeStateCount.Builder

addSpokeStateReasonCounts(SpokeSummary.SpokeStateReasonCount value)

public SpokeSummary.Builder addSpokeStateReasonCounts(SpokeSummary.SpokeStateReasonCount value)

Output only. Counts the number of spokes that are inactive for each possible reason and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateReasonCount spoke_state_reason_counts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueSpokeSummary.SpokeStateReasonCount
Returns
TypeDescription
SpokeSummary.Builder

addSpokeStateReasonCounts(SpokeSummary.SpokeStateReasonCount.Builder builderForValue)

public SpokeSummary.Builder addSpokeStateReasonCounts(SpokeSummary.SpokeStateReasonCount.Builder builderForValue)

Output only. Counts the number of spokes that are inactive for each possible reason and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateReasonCount spoke_state_reason_counts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueSpokeSummary.SpokeStateReasonCount.Builder
Returns
TypeDescription
SpokeSummary.Builder

addSpokeStateReasonCounts(int index, SpokeSummary.SpokeStateReasonCount value)

public SpokeSummary.Builder addSpokeStateReasonCounts(int index, SpokeSummary.SpokeStateReasonCount value)

Output only. Counts the number of spokes that are inactive for each possible reason and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateReasonCount spoke_state_reason_counts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
valueSpokeSummary.SpokeStateReasonCount
Returns
TypeDescription
SpokeSummary.Builder

addSpokeStateReasonCounts(int index, SpokeSummary.SpokeStateReasonCount.Builder builderForValue)

public SpokeSummary.Builder addSpokeStateReasonCounts(int index, SpokeSummary.SpokeStateReasonCount.Builder builderForValue)

Output only. Counts the number of spokes that are inactive for each possible reason and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateReasonCount spoke_state_reason_counts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
builderForValueSpokeSummary.SpokeStateReasonCount.Builder
Returns
TypeDescription
SpokeSummary.Builder

addSpokeStateReasonCountsBuilder()

public SpokeSummary.SpokeStateReasonCount.Builder addSpokeStateReasonCountsBuilder()

Output only. Counts the number of spokes that are inactive for each possible reason and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateReasonCount spoke_state_reason_counts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
SpokeSummary.SpokeStateReasonCount.Builder

addSpokeStateReasonCountsBuilder(int index)

public SpokeSummary.SpokeStateReasonCount.Builder addSpokeStateReasonCountsBuilder(int index)

Output only. Counts the number of spokes that are inactive for each possible reason and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateReasonCount spoke_state_reason_counts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
SpokeSummary.SpokeStateReasonCount.Builder

addSpokeTypeCounts(SpokeSummary.SpokeTypeCount value)

public SpokeSummary.Builder addSpokeTypeCounts(SpokeSummary.SpokeTypeCount value)

Output only. Counts the number of spokes of each type that are associated with a specific hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeTypeCount spoke_type_counts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueSpokeSummary.SpokeTypeCount
Returns
TypeDescription
SpokeSummary.Builder

addSpokeTypeCounts(SpokeSummary.SpokeTypeCount.Builder builderForValue)

public SpokeSummary.Builder addSpokeTypeCounts(SpokeSummary.SpokeTypeCount.Builder builderForValue)

Output only. Counts the number of spokes of each type that are associated with a specific hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeTypeCount spoke_type_counts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueSpokeSummary.SpokeTypeCount.Builder
Returns
TypeDescription
SpokeSummary.Builder

addSpokeTypeCounts(int index, SpokeSummary.SpokeTypeCount value)

public SpokeSummary.Builder addSpokeTypeCounts(int index, SpokeSummary.SpokeTypeCount value)

Output only. Counts the number of spokes of each type that are associated with a specific hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeTypeCount spoke_type_counts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
valueSpokeSummary.SpokeTypeCount
Returns
TypeDescription
SpokeSummary.Builder

addSpokeTypeCounts(int index, SpokeSummary.SpokeTypeCount.Builder builderForValue)

public SpokeSummary.Builder addSpokeTypeCounts(int index, SpokeSummary.SpokeTypeCount.Builder builderForValue)

Output only. Counts the number of spokes of each type that are associated with a specific hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeTypeCount spoke_type_counts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
builderForValueSpokeSummary.SpokeTypeCount.Builder
Returns
TypeDescription
SpokeSummary.Builder

addSpokeTypeCountsBuilder()

public SpokeSummary.SpokeTypeCount.Builder addSpokeTypeCountsBuilder()

Output only. Counts the number of spokes of each type that are associated with a specific hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeTypeCount spoke_type_counts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
SpokeSummary.SpokeTypeCount.Builder

addSpokeTypeCountsBuilder(int index)

public SpokeSummary.SpokeTypeCount.Builder addSpokeTypeCountsBuilder(int index)

Output only. Counts the number of spokes of each type that are associated with a specific hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeTypeCount spoke_type_counts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
SpokeSummary.SpokeTypeCount.Builder

build()

public SpokeSummary build()
Returns
TypeDescription
SpokeSummary

buildPartial()

public SpokeSummary buildPartial()
Returns
TypeDescription
SpokeSummary

clear()

public SpokeSummary.Builder clear()
Returns
TypeDescription
SpokeSummary.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SpokeSummary.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SpokeSummary.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SpokeSummary.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SpokeSummary.Builder
Overrides

clearSpokeStateCounts()

public SpokeSummary.Builder clearSpokeStateCounts()

Output only. Counts the number of spokes that are in each state and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateCount spoke_state_counts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
SpokeSummary.Builder

clearSpokeStateReasonCounts()

public SpokeSummary.Builder clearSpokeStateReasonCounts()

Output only. Counts the number of spokes that are inactive for each possible reason and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateReasonCount spoke_state_reason_counts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
SpokeSummary.Builder

clearSpokeTypeCounts()

public SpokeSummary.Builder clearSpokeTypeCounts()

Output only. Counts the number of spokes of each type that are associated with a specific hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeTypeCount spoke_type_counts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
SpokeSummary.Builder

clone()

public SpokeSummary.Builder clone()
Returns
TypeDescription
SpokeSummary.Builder
Overrides

getDefaultInstanceForType()

public SpokeSummary getDefaultInstanceForType()
Returns
TypeDescription
SpokeSummary

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSpokeStateCounts(int index)

public SpokeSummary.SpokeStateCount getSpokeStateCounts(int index)

Output only. Counts the number of spokes that are in each state and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateCount spoke_state_counts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
SpokeSummary.SpokeStateCount

getSpokeStateCountsBuilder(int index)

public SpokeSummary.SpokeStateCount.Builder getSpokeStateCountsBuilder(int index)

Output only. Counts the number of spokes that are in each state and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateCount spoke_state_counts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
SpokeSummary.SpokeStateCount.Builder

getSpokeStateCountsBuilderList()

public List<SpokeSummary.SpokeStateCount.Builder> getSpokeStateCountsBuilderList()

Output only. Counts the number of spokes that are in each state and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateCount spoke_state_counts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<Builder>

getSpokeStateCountsCount()

public int getSpokeStateCountsCount()

Output only. Counts the number of spokes that are in each state and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateCount spoke_state_counts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

getSpokeStateCountsList()

public List<SpokeSummary.SpokeStateCount> getSpokeStateCountsList()

Output only. Counts the number of spokes that are in each state and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateCount spoke_state_counts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<SpokeStateCount>

getSpokeStateCountsOrBuilder(int index)

public SpokeSummary.SpokeStateCountOrBuilder getSpokeStateCountsOrBuilder(int index)

Output only. Counts the number of spokes that are in each state and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateCount spoke_state_counts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
SpokeSummary.SpokeStateCountOrBuilder

getSpokeStateCountsOrBuilderList()

public List<? extends SpokeSummary.SpokeStateCountOrBuilder> getSpokeStateCountsOrBuilderList()

Output only. Counts the number of spokes that are in each state and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateCount spoke_state_counts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<? extends com.google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateCountOrBuilder>

getSpokeStateReasonCounts(int index)

public SpokeSummary.SpokeStateReasonCount getSpokeStateReasonCounts(int index)

Output only. Counts the number of spokes that are inactive for each possible reason and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateReasonCount spoke_state_reason_counts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
SpokeSummary.SpokeStateReasonCount

getSpokeStateReasonCountsBuilder(int index)

public SpokeSummary.SpokeStateReasonCount.Builder getSpokeStateReasonCountsBuilder(int index)

Output only. Counts the number of spokes that are inactive for each possible reason and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateReasonCount spoke_state_reason_counts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
SpokeSummary.SpokeStateReasonCount.Builder

getSpokeStateReasonCountsBuilderList()

public List<SpokeSummary.SpokeStateReasonCount.Builder> getSpokeStateReasonCountsBuilderList()

Output only. Counts the number of spokes that are inactive for each possible reason and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateReasonCount spoke_state_reason_counts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<Builder>

getSpokeStateReasonCountsCount()

public int getSpokeStateReasonCountsCount()

Output only. Counts the number of spokes that are inactive for each possible reason and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateReasonCount spoke_state_reason_counts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

getSpokeStateReasonCountsList()

public List<SpokeSummary.SpokeStateReasonCount> getSpokeStateReasonCountsList()

Output only. Counts the number of spokes that are inactive for each possible reason and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateReasonCount spoke_state_reason_counts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<SpokeStateReasonCount>

getSpokeStateReasonCountsOrBuilder(int index)

public SpokeSummary.SpokeStateReasonCountOrBuilder getSpokeStateReasonCountsOrBuilder(int index)

Output only. Counts the number of spokes that are inactive for each possible reason and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateReasonCount spoke_state_reason_counts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
SpokeSummary.SpokeStateReasonCountOrBuilder

getSpokeStateReasonCountsOrBuilderList()

public List<? extends SpokeSummary.SpokeStateReasonCountOrBuilder> getSpokeStateReasonCountsOrBuilderList()

Output only. Counts the number of spokes that are inactive for each possible reason and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateReasonCount spoke_state_reason_counts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<? extends com.google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateReasonCountOrBuilder>

getSpokeTypeCounts(int index)

public SpokeSummary.SpokeTypeCount getSpokeTypeCounts(int index)

Output only. Counts the number of spokes of each type that are associated with a specific hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeTypeCount spoke_type_counts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
SpokeSummary.SpokeTypeCount

getSpokeTypeCountsBuilder(int index)

public SpokeSummary.SpokeTypeCount.Builder getSpokeTypeCountsBuilder(int index)

Output only. Counts the number of spokes of each type that are associated with a specific hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeTypeCount spoke_type_counts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
SpokeSummary.SpokeTypeCount.Builder

getSpokeTypeCountsBuilderList()

public List<SpokeSummary.SpokeTypeCount.Builder> getSpokeTypeCountsBuilderList()

Output only. Counts the number of spokes of each type that are associated with a specific hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeTypeCount spoke_type_counts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<Builder>

getSpokeTypeCountsCount()

public int getSpokeTypeCountsCount()

Output only. Counts the number of spokes of each type that are associated with a specific hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeTypeCount spoke_type_counts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

getSpokeTypeCountsList()

public List<SpokeSummary.SpokeTypeCount> getSpokeTypeCountsList()

Output only. Counts the number of spokes of each type that are associated with a specific hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeTypeCount spoke_type_counts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<SpokeTypeCount>

getSpokeTypeCountsOrBuilder(int index)

public SpokeSummary.SpokeTypeCountOrBuilder getSpokeTypeCountsOrBuilder(int index)

Output only. Counts the number of spokes of each type that are associated with a specific hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeTypeCount spoke_type_counts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
SpokeSummary.SpokeTypeCountOrBuilder

getSpokeTypeCountsOrBuilderList()

public List<? extends SpokeSummary.SpokeTypeCountOrBuilder> getSpokeTypeCountsOrBuilderList()

Output only. Counts the number of spokes of each type that are associated with a specific hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeTypeCount spoke_type_counts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<? extends com.google.cloud.networkconnectivity.v1.SpokeSummary.SpokeTypeCountOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SpokeSummary other)

public SpokeSummary.Builder mergeFrom(SpokeSummary other)
Parameter
NameDescription
otherSpokeSummary
Returns
TypeDescription
SpokeSummary.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SpokeSummary.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SpokeSummary.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SpokeSummary.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SpokeSummary.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SpokeSummary.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SpokeSummary.Builder
Overrides

removeSpokeStateCounts(int index)

public SpokeSummary.Builder removeSpokeStateCounts(int index)

Output only. Counts the number of spokes that are in each state and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateCount spoke_state_counts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
SpokeSummary.Builder

removeSpokeStateReasonCounts(int index)

public SpokeSummary.Builder removeSpokeStateReasonCounts(int index)

Output only. Counts the number of spokes that are inactive for each possible reason and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateReasonCount spoke_state_reason_counts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
SpokeSummary.Builder

removeSpokeTypeCounts(int index)

public SpokeSummary.Builder removeSpokeTypeCounts(int index)

Output only. Counts the number of spokes of each type that are associated with a specific hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeTypeCount spoke_type_counts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
SpokeSummary.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SpokeSummary.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SpokeSummary.Builder
Overrides

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

public SpokeSummary.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SpokeSummary.Builder
Overrides

setSpokeStateCounts(int index, SpokeSummary.SpokeStateCount value)

public SpokeSummary.Builder setSpokeStateCounts(int index, SpokeSummary.SpokeStateCount value)

Output only. Counts the number of spokes that are in each state and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateCount spoke_state_counts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
valueSpokeSummary.SpokeStateCount
Returns
TypeDescription
SpokeSummary.Builder

setSpokeStateCounts(int index, SpokeSummary.SpokeStateCount.Builder builderForValue)

public SpokeSummary.Builder setSpokeStateCounts(int index, SpokeSummary.SpokeStateCount.Builder builderForValue)

Output only. Counts the number of spokes that are in each state and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateCount spoke_state_counts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
builderForValueSpokeSummary.SpokeStateCount.Builder
Returns
TypeDescription
SpokeSummary.Builder

setSpokeStateReasonCounts(int index, SpokeSummary.SpokeStateReasonCount value)

public SpokeSummary.Builder setSpokeStateReasonCounts(int index, SpokeSummary.SpokeStateReasonCount value)

Output only. Counts the number of spokes that are inactive for each possible reason and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateReasonCount spoke_state_reason_counts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
valueSpokeSummary.SpokeStateReasonCount
Returns
TypeDescription
SpokeSummary.Builder

setSpokeStateReasonCounts(int index, SpokeSummary.SpokeStateReasonCount.Builder builderForValue)

public SpokeSummary.Builder setSpokeStateReasonCounts(int index, SpokeSummary.SpokeStateReasonCount.Builder builderForValue)

Output only. Counts the number of spokes that are inactive for each possible reason and associated with a given hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateReasonCount spoke_state_reason_counts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
builderForValueSpokeSummary.SpokeStateReasonCount.Builder
Returns
TypeDescription
SpokeSummary.Builder

setSpokeTypeCounts(int index, SpokeSummary.SpokeTypeCount value)

public SpokeSummary.Builder setSpokeTypeCounts(int index, SpokeSummary.SpokeTypeCount value)

Output only. Counts the number of spokes of each type that are associated with a specific hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeTypeCount spoke_type_counts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
valueSpokeSummary.SpokeTypeCount
Returns
TypeDescription
SpokeSummary.Builder

setSpokeTypeCounts(int index, SpokeSummary.SpokeTypeCount.Builder builderForValue)

public SpokeSummary.Builder setSpokeTypeCounts(int index, SpokeSummary.SpokeTypeCount.Builder builderForValue)

Output only. Counts the number of spokes of each type that are associated with a specific hub.

repeated .google.cloud.networkconnectivity.v1.SpokeSummary.SpokeTypeCount spoke_type_counts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
builderForValueSpokeSummary.SpokeTypeCount.Builder
Returns
TypeDescription
SpokeSummary.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final SpokeSummary.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SpokeSummary.Builder
Overrides