Class InterceptEndpointGroup.AssociationDetails.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<InterceptEndpointGroup.AssociationDetails.Builder>
com.google.cloud.networksecurity.v1.InterceptEndpointGroup.AssociationDetails.Builder
All Implemented Interfaces:
InterceptEndpointGroup.AssociationDetailsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
InterceptEndpointGroup.AssociationDetails

public static final class InterceptEndpointGroup.AssociationDetails.Builder extends com.google.protobuf.GeneratedMessage.Builder<InterceptEndpointGroup.AssociationDetails.Builder> implements InterceptEndpointGroup.AssociationDetailsOrBuilder
 The endpoint group's view of a connected association.
 
Protobuf type google.cloud.networksecurity.v1.InterceptEndpointGroup.AssociationDetails
  • 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<InterceptEndpointGroup.AssociationDetails.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<InterceptEndpointGroup.AssociationDetails.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<InterceptEndpointGroup.AssociationDetails.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public InterceptEndpointGroup.AssociationDetails.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<InterceptEndpointGroup.AssociationDetails.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Output only. The connected association's resource name, for example:
       `projects/123456789/locations/global/interceptEndpointGroupAssociations/my-ega`.
       See https://google.aip.dev/124.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getName in interface InterceptEndpointGroup.AssociationDetailsOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Output only. The connected association's resource name, for example:
       `projects/123456789/locations/global/interceptEndpointGroupAssociations/my-ega`.
       See https://google.aip.dev/124.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getNameBytes in interface InterceptEndpointGroup.AssociationDetailsOrBuilder
      Returns:
      The bytes for name.
    • setName

       Output only. The connected association's resource name, for example:
       `projects/123456789/locations/global/interceptEndpointGroupAssociations/my-ega`.
       See https://google.aip.dev/124.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       Output only. The connected association's resource name, for example:
       `projects/123456789/locations/global/interceptEndpointGroupAssociations/my-ega`.
       See https://google.aip.dev/124.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setNameBytes

      public InterceptEndpointGroup.AssociationDetails.Builder setNameBytes(com.google.protobuf.ByteString value)
       Output only. The connected association's resource name, for example:
       `projects/123456789/locations/global/interceptEndpointGroupAssociations/my-ega`.
       See https://google.aip.dev/124.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getNetwork

      public String getNetwork()
       Output only. The associated network, for example:
       projects/123456789/global/networks/my-network.
       See https://google.aip.dev/124.
       
      string network = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getNetwork in interface InterceptEndpointGroup.AssociationDetailsOrBuilder
      Returns:
      The network.
    • getNetworkBytes

      public com.google.protobuf.ByteString getNetworkBytes()
       Output only. The associated network, for example:
       projects/123456789/global/networks/my-network.
       See https://google.aip.dev/124.
       
      string network = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getNetworkBytes in interface InterceptEndpointGroup.AssociationDetailsOrBuilder
      Returns:
      The bytes for network.
    • setNetwork

       Output only. The associated network, for example:
       projects/123456789/global/networks/my-network.
       See https://google.aip.dev/124.
       
      string network = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The network to set.
      Returns:
      This builder for chaining.
    • clearNetwork

       Output only. The associated network, for example:
       projects/123456789/global/networks/my-network.
       See https://google.aip.dev/124.
       
      string network = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setNetworkBytes

      public InterceptEndpointGroup.AssociationDetails.Builder setNetworkBytes(com.google.protobuf.ByteString value)
       Output only. The associated network, for example:
       projects/123456789/global/networks/my-network.
       See https://google.aip.dev/124.
       
      string network = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for network to set.
      Returns:
      This builder for chaining.
    • getStateValue

      public int getStateValue()
       Output only. Most recent known state of the association.
       
      .google.cloud.networksecurity.v1.InterceptEndpointGroupAssociation.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface InterceptEndpointGroup.AssociationDetailsOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public InterceptEndpointGroup.AssociationDetails.Builder setStateValue(int value)
       Output only. Most recent known state of the association.
       
      .google.cloud.networksecurity.v1.InterceptEndpointGroupAssociation.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • getState

       Output only. Most recent known state of the association.
       
      .google.cloud.networksecurity.v1.InterceptEndpointGroupAssociation.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface InterceptEndpointGroup.AssociationDetailsOrBuilder
      Returns:
      The state.
    • setState

       Output only. Most recent known state of the association.
       
      .google.cloud.networksecurity.v1.InterceptEndpointGroupAssociation.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

       Output only. Most recent known state of the association.
       
      .google.cloud.networksecurity.v1.InterceptEndpointGroupAssociation.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.