Send feedback
Class SpokeSummary.SpokeTypeCount.Builder (1.33.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.33.0 keyboard_arrow_down
public static final class SpokeSummary . SpokeTypeCount . Builder extends GeneratedMessageV3 . Builder<SpokeSummary . SpokeTypeCount . Builder > implements SpokeSummary . SpokeTypeCountOrBuilder
The number of spokes of a given type that are associated
with a specific hub. The type indicates what kind of
resource is associated with the spoke.
Protobuf type google.cloud.networkconnectivity.v1.SpokeSummary.SpokeTypeCount
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 . SpokeTypeCount . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public SpokeSummary . SpokeTypeCount build ()
buildPartial()
public SpokeSummary . SpokeTypeCount buildPartial ()
clear()
public SpokeSummary . SpokeTypeCount . Builder clear ()
Overrides
clearCount()
public SpokeSummary . SpokeTypeCount . Builder clearCount ()
Output only. The total number of spokes of this type that are
associated with the hub.
int64 count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearField(Descriptors.FieldDescriptor field)
public SpokeSummary . SpokeTypeCount . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SpokeSummary . SpokeTypeCount . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearSpokeType()
public SpokeSummary . SpokeTypeCount . Builder clearSpokeType ()
Output only. The type of the spokes.
.google.cloud.networkconnectivity.v1.SpokeType spoke_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
clone()
public SpokeSummary . SpokeTypeCount . Builder clone ()
Overrides
getCount()
Output only. The total number of spokes of this type that are
associated with the hub.
int64 count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns Type Description long
The count.
getDefaultInstanceForType()
public SpokeSummary . SpokeTypeCount getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getSpokeType()
public SpokeType getSpokeType ()
Output only. The type of the spokes.
.google.cloud.networkconnectivity.v1.SpokeType spoke_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns Type Description SpokeType
The spokeType.
getSpokeTypeValue()
public int getSpokeTypeValue ()
Output only. The type of the spokes.
.google.cloud.networkconnectivity.v1.SpokeType spoke_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns Type Description int
The enum numeric value on the wire for spokeType.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(SpokeSummary.SpokeTypeCount other)
public SpokeSummary . SpokeTypeCount . Builder mergeFrom ( SpokeSummary . SpokeTypeCount other )
public SpokeSummary . SpokeTypeCount . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public SpokeSummary . SpokeTypeCount . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SpokeSummary . SpokeTypeCount . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setCount(long value)
public SpokeSummary . SpokeTypeCount . Builder setCount ( long value )
Output only. The total number of spokes of this type that are
associated with the 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 . SpokeTypeCount . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SpokeSummary . SpokeTypeCount . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setSpokeType(SpokeType value)
public SpokeSummary . SpokeTypeCount . Builder setSpokeType ( SpokeType value )
Output only. The type of the spokes.
.google.cloud.networkconnectivity.v1.SpokeType spoke_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter Name Description value
SpokeType
The spokeType to set.
setSpokeTypeValue(int value)
public SpokeSummary . SpokeTypeCount . Builder setSpokeTypeValue ( int value )
Output only. The type of the spokes.
.google.cloud.networkconnectivity.v1.SpokeType spoke_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter Name Description value
int
The enum numeric value on the wire for spokeType to set.
setUnknownFields(UnknownFieldSet unknownFields)
public final SpokeSummary . SpokeTypeCount . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]