Class HubStatusEntry.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<HubStatusEntry.Builder>
com.google.cloud.networkconnectivity.v1beta.HubStatusEntry.Builder
- All Implemented Interfaces:
HubStatusEntryOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- HubStatusEntry
public static final class HubStatusEntry.Builder
extends com.google.protobuf.GeneratedMessage.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.v1beta.HubStatusEntry-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The number of propagated Private Service Connect connections with this status.The fields that this entry is grouped by.The Private Service Connect propagation status.intgetCount()The number of propagated Private Service Connect connections with this status.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe fields that this entry is grouped by.com.google.protobuf.ByteStringThe fields that this entry is grouped by.The Private Service Connect propagation status.The Private Service Connect propagation status.The Private Service Connect propagation status.booleanThe Private Service Connect propagation status.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(HubStatusEntry other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The Private Service Connect propagation status.setCount(int value) The number of propagated Private Service Connect connections with this status.setGroupBy(String value) The fields that this entry is grouped by.setGroupByBytes(com.google.protobuf.ByteString value) The fields that this entry is grouped by.The Private Service Connect propagation status.setPscPropagationStatus(PscPropagationStatus.Builder builderForValue) The Private Service Connect propagation status.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<HubStatusEntry.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<HubStatusEntry.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<HubStatusEntry.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HubStatusEntry.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<HubStatusEntry.Builder>
-
mergeFrom
public HubStatusEntry.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HubStatusEntry.Builder>- Throws:
IOException
-
getCount
public int 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;- Specified by:
getCountin interfaceHubStatusEntryOrBuilder- Returns:
- The count.
-
setCount
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;- Parameters:
value- The count to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
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;- Specified by:
getGroupByin interfaceHubStatusEntryOrBuilder- Returns:
- The groupBy.
-
getGroupByBytes
public com.google.protobuf.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;- Specified by:
getGroupByBytesin interfaceHubStatusEntryOrBuilder- Returns:
- The bytes for groupBy.
-
setGroupBy
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;- Parameters:
value- The groupBy to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setGroupByBytes
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;- Parameters:
value- The bytes for groupBy to set.- Returns:
- This builder for chaining.
-
hasPscPropagationStatus
public boolean hasPscPropagationStatus()The Private Service Connect propagation status.
.google.cloud.networkconnectivity.v1beta.PscPropagationStatus psc_propagation_status = 3;- Specified by:
hasPscPropagationStatusin interfaceHubStatusEntryOrBuilder- Returns:
- Whether the pscPropagationStatus field is set.
-
getPscPropagationStatus
The Private Service Connect propagation status.
.google.cloud.networkconnectivity.v1beta.PscPropagationStatus psc_propagation_status = 3;- Specified by:
getPscPropagationStatusin interfaceHubStatusEntryOrBuilder- Returns:
- The pscPropagationStatus.
-
setPscPropagationStatus
The Private Service Connect propagation status.
.google.cloud.networkconnectivity.v1beta.PscPropagationStatus psc_propagation_status = 3; -
setPscPropagationStatus
The Private Service Connect propagation status.
.google.cloud.networkconnectivity.v1beta.PscPropagationStatus psc_propagation_status = 3; -
mergePscPropagationStatus
The Private Service Connect propagation status.
.google.cloud.networkconnectivity.v1beta.PscPropagationStatus psc_propagation_status = 3; -
clearPscPropagationStatus
The Private Service Connect propagation status.
.google.cloud.networkconnectivity.v1beta.PscPropagationStatus psc_propagation_status = 3; -
getPscPropagationStatusBuilder
The Private Service Connect propagation status.
.google.cloud.networkconnectivity.v1beta.PscPropagationStatus psc_propagation_status = 3; -
getPscPropagationStatusOrBuilder
The Private Service Connect propagation status.
.google.cloud.networkconnectivity.v1beta.PscPropagationStatus psc_propagation_status = 3;- Specified by:
getPscPropagationStatusOrBuilderin interfaceHubStatusEntryOrBuilder
-