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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<HubStatusEntry.Builder>
    • clear

      public HubStatusEntry.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<HubStatusEntry.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<HubStatusEntry.Builder>
    • getDefaultInstanceForType

      public HubStatusEntry getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public HubStatusEntry build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public HubStatusEntry buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public HubStatusEntry.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<HubStatusEntry.Builder>
    • mergeFrom

      public HubStatusEntry.Builder mergeFrom(HubStatusEntry other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      getCount in interface HubStatusEntryOrBuilder
      Returns:
      The count.
    • setCount

      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;
      Parameters:
      value - The count to set.
      Returns:
      This builder for chaining.
    • 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;
      Returns:
      This builder for chaining.
    • 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;
      Specified by:
      getGroupBy in interface HubStatusEntryOrBuilder
      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:
      getGroupByBytes in interface HubStatusEntryOrBuilder
      Returns:
      The bytes for groupBy.
    • setGroupBy

      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;
      Parameters:
      value - The groupBy to set.
      Returns:
      This builder for chaining.
    • 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;
      Returns:
      This builder for chaining.
    • setGroupByBytes

      public HubStatusEntry.Builder setGroupByBytes(com.google.protobuf.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;
      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:
      hasPscPropagationStatus in interface HubStatusEntryOrBuilder
      Returns:
      Whether the pscPropagationStatus field is set.
    • getPscPropagationStatus

      public PscPropagationStatus getPscPropagationStatus()
       The Private Service Connect propagation status.
       
      .google.cloud.networkconnectivity.v1beta.PscPropagationStatus psc_propagation_status = 3;
      Specified by:
      getPscPropagationStatus in interface HubStatusEntryOrBuilder
      Returns:
      The pscPropagationStatus.
    • setPscPropagationStatus

      public HubStatusEntry.Builder setPscPropagationStatus(PscPropagationStatus value)
       The Private Service Connect propagation status.
       
      .google.cloud.networkconnectivity.v1beta.PscPropagationStatus psc_propagation_status = 3;
    • setPscPropagationStatus

      public HubStatusEntry.Builder setPscPropagationStatus(PscPropagationStatus.Builder builderForValue)
       The Private Service Connect propagation status.
       
      .google.cloud.networkconnectivity.v1beta.PscPropagationStatus psc_propagation_status = 3;
    • mergePscPropagationStatus

      public HubStatusEntry.Builder mergePscPropagationStatus(PscPropagationStatus value)
       The Private Service Connect propagation status.
       
      .google.cloud.networkconnectivity.v1beta.PscPropagationStatus psc_propagation_status = 3;
    • clearPscPropagationStatus

      public HubStatusEntry.Builder clearPscPropagationStatus()
       The Private Service Connect propagation status.
       
      .google.cloud.networkconnectivity.v1beta.PscPropagationStatus psc_propagation_status = 3;
    • getPscPropagationStatusBuilder

      public PscPropagationStatus.Builder getPscPropagationStatusBuilder()
       The Private Service Connect propagation status.
       
      .google.cloud.networkconnectivity.v1beta.PscPropagationStatus psc_propagation_status = 3;
    • getPscPropagationStatusOrBuilder

      public PscPropagationStatusOrBuilder getPscPropagationStatusOrBuilder()
       The Private Service Connect propagation status.
       
      .google.cloud.networkconnectivity.v1beta.PscPropagationStatus psc_propagation_status = 3;
      Specified by:
      getPscPropagationStatusOrBuilder in interface HubStatusEntryOrBuilder