Send feedback
Class HubStatusEntry.Builder (1.55.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
public static final class HubStatusEntry . Builder extends GeneratedMessageV3 . Builder<HubStatusEntry . Builder > implements HubStatusEntryOrBuilder
A hub status entry represents the status of a set of propagated Private
Service Connect connections grouped by certain fields.
Protobuf type google.cloud.networkconnectivity.v1.HubStatusEntry
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 HubStatusEntry . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public HubStatusEntry build ()
buildPartial()
public HubStatusEntry buildPartial ()
clear()
public HubStatusEntry . Builder clear ()
Overrides
clearCount()
public HubStatusEntry . Builder clearCount ()
The number of propagated Private Service Connect connections with this
status. If the group_by
field was not set in the request message, the
value of this field is 1.
int32 count = 1;
clearField(Descriptors.FieldDescriptor field)
public HubStatusEntry . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearGroupBy()
public HubStatusEntry . Builder clearGroupBy ()
The fields that this entry is grouped by. This has the same value as the
group_by
field in the request message.
string group_by = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public HubStatusEntry . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearPscPropagationStatus()
public HubStatusEntry . Builder clearPscPropagationStatus ()
The Private Service Connect propagation status.
.google.cloud.networkconnectivity.v1.PscPropagationStatus psc_propagation_status = 3;
clone()
public HubStatusEntry . Builder clone ()
Overrides
getCount()
The number of propagated Private Service Connect connections with this
status. If the group_by
field was not set in the request message, the
value of this field is 1.
int32 count = 1;
Returns
Type
Description
int
The count.
getDefaultInstanceForType()
public HubStatusEntry getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getGroupBy()
public String getGroupBy ()
The fields that this entry is grouped by. This has the same value as the
group_by
field in the request message.
string group_by = 2;
Returns
Type
Description
String
The groupBy.
getGroupByBytes()
public ByteString getGroupByBytes ()
The fields that this entry is grouped by. This has the same value as the
group_by
field in the request message.
string group_by = 2;
Returns
Type
Description
ByteString
The bytes for groupBy.
getPscPropagationStatus()
public PscPropagationStatus getPscPropagationStatus ()
The Private Service Connect propagation status.
.google.cloud.networkconnectivity.v1.PscPropagationStatus psc_propagation_status = 3;
getPscPropagationStatusBuilder()
public PscPropagationStatus . Builder getPscPropagationStatusBuilder ()
The Private Service Connect propagation status.
.google.cloud.networkconnectivity.v1.PscPropagationStatus psc_propagation_status = 3;
getPscPropagationStatusOrBuilder()
public PscPropagationStatusOrBuilder getPscPropagationStatusOrBuilder ()
The Private Service Connect propagation status.
.google.cloud.networkconnectivity.v1.PscPropagationStatus psc_propagation_status = 3;
hasPscPropagationStatus()
public boolean hasPscPropagationStatus ()
The Private Service Connect propagation status.
.google.cloud.networkconnectivity.v1.PscPropagationStatus psc_propagation_status = 3;
Returns
Type
Description
boolean
Whether the pscPropagationStatus field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(HubStatusEntry other)
public HubStatusEntry . Builder mergeFrom ( HubStatusEntry other )
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public HubStatusEntry . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public HubStatusEntry . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergePscPropagationStatus(PscPropagationStatus value)
public HubStatusEntry . Builder mergePscPropagationStatus ( PscPropagationStatus value )
The Private Service Connect propagation status.
.google.cloud.networkconnectivity.v1.PscPropagationStatus psc_propagation_status = 3;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final HubStatusEntry . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setCount(int value)
public HubStatusEntry . Builder setCount ( int value )
The number of propagated Private Service Connect connections with this
status. If the group_by
field was not set in the request message, the
value of this field is 1.
int32 count = 1;
Parameter
Name
Description
value
int
The count to set.
setField(Descriptors.FieldDescriptor field, Object value)
public HubStatusEntry . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setGroupBy(String value)
public HubStatusEntry . Builder setGroupBy ( String value )
The fields that this entry is grouped by. This has the same value as the
group_by
field in the request message.
string group_by = 2;
Parameter
Name
Description
value
String
The groupBy to set.
setGroupByBytes(ByteString value)
public HubStatusEntry . Builder setGroupByBytes ( ByteString value )
The fields that this entry is grouped by. This has the same value as the
group_by
field in the request message.
string group_by = 2;
Parameter
Name
Description
value
ByteString
The bytes for groupBy to set.
setPscPropagationStatus(PscPropagationStatus value)
public HubStatusEntry . Builder setPscPropagationStatus ( PscPropagationStatus value )
The Private Service Connect propagation status.
.google.cloud.networkconnectivity.v1.PscPropagationStatus psc_propagation_status = 3;
setPscPropagationStatus(PscPropagationStatus.Builder builderForValue)
public HubStatusEntry . Builder setPscPropagationStatus ( PscPropagationStatus . Builder builderForValue )
The Private Service Connect propagation status.
.google.cloud.networkconnectivity.v1.PscPropagationStatus psc_propagation_status = 3;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public HubStatusEntry . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final HubStatusEntry . 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."],[],[]]