Class SpokeSummary.Builder (1.52.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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateCount>
Returns
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateReasonCount>
Returns
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.networkconnectivity.v1.SpokeSummary.SpokeTypeCount>
Returns
Type Description
SpokeSummary.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SpokeSummary.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value SpokeSummary.SpokeStateCount
Returns
Type Description
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
Name Description
builderForValue SpokeSummary.SpokeStateCount.Builder
Returns
Type Description
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
Name Description
index int
value SpokeSummary.SpokeStateCount
Returns
Type Description
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
Name Description
index int
builderForValue SpokeSummary.SpokeStateCount.Builder
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
value SpokeSummary.SpokeStateReasonCount
Returns
Type Description
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
Name Description
builderForValue SpokeSummary.SpokeStateReasonCount.Builder
Returns
Type Description
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
Name Description
index int
value SpokeSummary.SpokeStateReasonCount
Returns
Type Description
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
Name Description
index int
builderForValue SpokeSummary.SpokeStateReasonCount.Builder
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
value SpokeSummary.SpokeTypeCount
Returns
Type Description
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
Name Description
builderForValue SpokeSummary.SpokeTypeCount.Builder
Returns
Type Description
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
Name Description
index int
value SpokeSummary.SpokeTypeCount
Returns
Type Description
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
Name Description
index int
builderForValue SpokeSummary.SpokeTypeCount.Builder
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
SpokeSummary.SpokeTypeCount.Builder

build()

public SpokeSummary build()
Returns
Type Description
SpokeSummary

buildPartial()

public SpokeSummary buildPartial()
Returns
Type Description
SpokeSummary

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public SpokeSummary.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
SpokeSummary.Builder

clone()

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

getDefaultInstanceForType()

public SpokeSummary getDefaultInstanceForType()
Returns
Type Description
SpokeSummary

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.cloud.networkconnectivity.v1.SpokeSummary.SpokeTypeCountOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SpokeSummary other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SpokeSummary.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
SpokeSummary.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public SpokeSummary.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
index int
value SpokeSummary.SpokeStateCount
Returns
Type Description
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
Name Description
index int
builderForValue SpokeSummary.SpokeStateCount.Builder
Returns
Type Description
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
Name Description
index int
value SpokeSummary.SpokeStateReasonCount
Returns
Type Description
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
Name Description
index int
builderForValue SpokeSummary.SpokeStateReasonCount.Builder
Returns
Type Description
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
Name Description
index int
value SpokeSummary.SpokeTypeCount
Returns
Type Description
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
Name Description
index int
builderForValue SpokeSummary.SpokeTypeCount.Builder
Returns
Type Description
SpokeSummary.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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