Class PscPropagationStatus.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PscPropagationStatus.Builder>
com.google.cloud.networkconnectivity.v1beta.PscPropagationStatus.Builder
All Implemented Interfaces:
PscPropagationStatusOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
PscPropagationStatus

public static final class PscPropagationStatus.Builder extends com.google.protobuf.GeneratedMessage.Builder<PscPropagationStatus.Builder> implements PscPropagationStatusOrBuilder
 The status of one or more propagated Private Service Connect connections in a
 hub.
 
Protobuf type google.cloud.networkconnectivity.v1beta.PscPropagationStatus
  • 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<PscPropagationStatus.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<PscPropagationStatus.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<PscPropagationStatus.Builder>
    • getDefaultInstanceForType

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

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

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

      public PscPropagationStatus.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<PscPropagationStatus.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<PscPropagationStatus.Builder>
    • mergeFrom

      public PscPropagationStatus.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<PscPropagationStatus.Builder>
      Throws:
      IOException
    • getSourceSpoke

      public String getSourceSpoke()
       The name of the spoke that the source forwarding rule belongs to.
       
      string source_spoke = 1;
      Specified by:
      getSourceSpoke in interface PscPropagationStatusOrBuilder
      Returns:
      The sourceSpoke.
    • getSourceSpokeBytes

      public com.google.protobuf.ByteString getSourceSpokeBytes()
       The name of the spoke that the source forwarding rule belongs to.
       
      string source_spoke = 1;
      Specified by:
      getSourceSpokeBytes in interface PscPropagationStatusOrBuilder
      Returns:
      The bytes for sourceSpoke.
    • setSourceSpoke

      public PscPropagationStatus.Builder setSourceSpoke(String value)
       The name of the spoke that the source forwarding rule belongs to.
       
      string source_spoke = 1;
      Parameters:
      value - The sourceSpoke to set.
      Returns:
      This builder for chaining.
    • clearSourceSpoke

      public PscPropagationStatus.Builder clearSourceSpoke()
       The name of the spoke that the source forwarding rule belongs to.
       
      string source_spoke = 1;
      Returns:
      This builder for chaining.
    • setSourceSpokeBytes

      public PscPropagationStatus.Builder setSourceSpokeBytes(com.google.protobuf.ByteString value)
       The name of the spoke that the source forwarding rule belongs to.
       
      string source_spoke = 1;
      Parameters:
      value - The bytes for sourceSpoke to set.
      Returns:
      This builder for chaining.
    • getSourceGroup

      public String getSourceGroup()
       The name of the group that the source spoke belongs to.
       
      string source_group = 2;
      Specified by:
      getSourceGroup in interface PscPropagationStatusOrBuilder
      Returns:
      The sourceGroup.
    • getSourceGroupBytes

      public com.google.protobuf.ByteString getSourceGroupBytes()
       The name of the group that the source spoke belongs to.
       
      string source_group = 2;
      Specified by:
      getSourceGroupBytes in interface PscPropagationStatusOrBuilder
      Returns:
      The bytes for sourceGroup.
    • setSourceGroup

      public PscPropagationStatus.Builder setSourceGroup(String value)
       The name of the group that the source spoke belongs to.
       
      string source_group = 2;
      Parameters:
      value - The sourceGroup to set.
      Returns:
      This builder for chaining.
    • clearSourceGroup

      public PscPropagationStatus.Builder clearSourceGroup()
       The name of the group that the source spoke belongs to.
       
      string source_group = 2;
      Returns:
      This builder for chaining.
    • setSourceGroupBytes

      public PscPropagationStatus.Builder setSourceGroupBytes(com.google.protobuf.ByteString value)
       The name of the group that the source spoke belongs to.
       
      string source_group = 2;
      Parameters:
      value - The bytes for sourceGroup to set.
      Returns:
      This builder for chaining.
    • getSourceForwardingRule

      public String getSourceForwardingRule()
       The name of the forwarding rule exported to the hub.
       
      string source_forwarding_rule = 3;
      Specified by:
      getSourceForwardingRule in interface PscPropagationStatusOrBuilder
      Returns:
      The sourceForwardingRule.
    • getSourceForwardingRuleBytes

      public com.google.protobuf.ByteString getSourceForwardingRuleBytes()
       The name of the forwarding rule exported to the hub.
       
      string source_forwarding_rule = 3;
      Specified by:
      getSourceForwardingRuleBytes in interface PscPropagationStatusOrBuilder
      Returns:
      The bytes for sourceForwardingRule.
    • setSourceForwardingRule

      public PscPropagationStatus.Builder setSourceForwardingRule(String value)
       The name of the forwarding rule exported to the hub.
       
      string source_forwarding_rule = 3;
      Parameters:
      value - The sourceForwardingRule to set.
      Returns:
      This builder for chaining.
    • clearSourceForwardingRule

      public PscPropagationStatus.Builder clearSourceForwardingRule()
       The name of the forwarding rule exported to the hub.
       
      string source_forwarding_rule = 3;
      Returns:
      This builder for chaining.
    • setSourceForwardingRuleBytes

      public PscPropagationStatus.Builder setSourceForwardingRuleBytes(com.google.protobuf.ByteString value)
       The name of the forwarding rule exported to the hub.
       
      string source_forwarding_rule = 3;
      Parameters:
      value - The bytes for sourceForwardingRule to set.
      Returns:
      This builder for chaining.
    • getTargetSpoke

      public String getTargetSpoke()
       The name of the spoke that the source forwarding rule propagates to.
       
      string target_spoke = 4;
      Specified by:
      getTargetSpoke in interface PscPropagationStatusOrBuilder
      Returns:
      The targetSpoke.
    • getTargetSpokeBytes

      public com.google.protobuf.ByteString getTargetSpokeBytes()
       The name of the spoke that the source forwarding rule propagates to.
       
      string target_spoke = 4;
      Specified by:
      getTargetSpokeBytes in interface PscPropagationStatusOrBuilder
      Returns:
      The bytes for targetSpoke.
    • setTargetSpoke

      public PscPropagationStatus.Builder setTargetSpoke(String value)
       The name of the spoke that the source forwarding rule propagates to.
       
      string target_spoke = 4;
      Parameters:
      value - The targetSpoke to set.
      Returns:
      This builder for chaining.
    • clearTargetSpoke

      public PscPropagationStatus.Builder clearTargetSpoke()
       The name of the spoke that the source forwarding rule propagates to.
       
      string target_spoke = 4;
      Returns:
      This builder for chaining.
    • setTargetSpokeBytes

      public PscPropagationStatus.Builder setTargetSpokeBytes(com.google.protobuf.ByteString value)
       The name of the spoke that the source forwarding rule propagates to.
       
      string target_spoke = 4;
      Parameters:
      value - The bytes for targetSpoke to set.
      Returns:
      This builder for chaining.
    • getTargetGroup

      public String getTargetGroup()
       The name of the group that the target spoke belongs to.
       
      string target_group = 5;
      Specified by:
      getTargetGroup in interface PscPropagationStatusOrBuilder
      Returns:
      The targetGroup.
    • getTargetGroupBytes

      public com.google.protobuf.ByteString getTargetGroupBytes()
       The name of the group that the target spoke belongs to.
       
      string target_group = 5;
      Specified by:
      getTargetGroupBytes in interface PscPropagationStatusOrBuilder
      Returns:
      The bytes for targetGroup.
    • setTargetGroup

      public PscPropagationStatus.Builder setTargetGroup(String value)
       The name of the group that the target spoke belongs to.
       
      string target_group = 5;
      Parameters:
      value - The targetGroup to set.
      Returns:
      This builder for chaining.
    • clearTargetGroup

      public PscPropagationStatus.Builder clearTargetGroup()
       The name of the group that the target spoke belongs to.
       
      string target_group = 5;
      Returns:
      This builder for chaining.
    • setTargetGroupBytes

      public PscPropagationStatus.Builder setTargetGroupBytes(com.google.protobuf.ByteString value)
       The name of the group that the target spoke belongs to.
       
      string target_group = 5;
      Parameters:
      value - The bytes for targetGroup to set.
      Returns:
      This builder for chaining.
    • getCodeValue

      public int getCodeValue()
       The propagation status.
       
      .google.cloud.networkconnectivity.v1beta.PscPropagationStatus.Code code = 6;
      Specified by:
      getCodeValue in interface PscPropagationStatusOrBuilder
      Returns:
      The enum numeric value on the wire for code.
    • setCodeValue

      public PscPropagationStatus.Builder setCodeValue(int value)
       The propagation status.
       
      .google.cloud.networkconnectivity.v1beta.PscPropagationStatus.Code code = 6;
      Parameters:
      value - The enum numeric value on the wire for code to set.
      Returns:
      This builder for chaining.
    • getCode

      public PscPropagationStatus.Code getCode()
       The propagation status.
       
      .google.cloud.networkconnectivity.v1beta.PscPropagationStatus.Code code = 6;
      Specified by:
      getCode in interface PscPropagationStatusOrBuilder
      Returns:
      The code.
    • setCode

       The propagation status.
       
      .google.cloud.networkconnectivity.v1beta.PscPropagationStatus.Code code = 6;
      Parameters:
      value - The code to set.
      Returns:
      This builder for chaining.
    • clearCode

      public PscPropagationStatus.Builder clearCode()
       The propagation status.
       
      .google.cloud.networkconnectivity.v1beta.PscPropagationStatus.Code code = 6;
      Returns:
      This builder for chaining.
    • getMessage

      public String getMessage()
       The human-readable summary of the Private Service Connect connection
       propagation status.
       
      string message = 7;
      Specified by:
      getMessage in interface PscPropagationStatusOrBuilder
      Returns:
      The message.
    • getMessageBytes

      public com.google.protobuf.ByteString getMessageBytes()
       The human-readable summary of the Private Service Connect connection
       propagation status.
       
      string message = 7;
      Specified by:
      getMessageBytes in interface PscPropagationStatusOrBuilder
      Returns:
      The bytes for message.
    • setMessage

      public PscPropagationStatus.Builder setMessage(String value)
       The human-readable summary of the Private Service Connect connection
       propagation status.
       
      string message = 7;
      Parameters:
      value - The message to set.
      Returns:
      This builder for chaining.
    • clearMessage

      public PscPropagationStatus.Builder clearMessage()
       The human-readable summary of the Private Service Connect connection
       propagation status.
       
      string message = 7;
      Returns:
      This builder for chaining.
    • setMessageBytes

      public PscPropagationStatus.Builder setMessageBytes(com.google.protobuf.ByteString value)
       The human-readable summary of the Private Service Connect connection
       propagation status.
       
      string message = 7;
      Parameters:
      value - The bytes for message to set.
      Returns:
      This builder for chaining.