Class MirroringLocation.Builder

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

public static final class MirroringLocation.Builder extends com.google.protobuf.GeneratedMessage.Builder<MirroringLocation.Builder> implements MirroringLocationOrBuilder
 Details about mirroring in a specific cloud location.
 
Protobuf type google.cloud.networksecurity.v1.MirroringLocation
  • 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<MirroringLocation.Builder>
    • clear

      public MirroringLocation.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<MirroringLocation.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<MirroringLocation.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public MirroringLocation.Builder mergeFrom(MirroringLocation other)
    • isInitialized

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

      public MirroringLocation.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<MirroringLocation.Builder>
      Throws:
      IOException
    • getLocation

      public String getLocation()
       Output only. The cloud location, e.g. "us-central1-a" or "asia-south1".
       
      string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLocation in interface MirroringLocationOrBuilder
      Returns:
      The location.
    • getLocationBytes

      public com.google.protobuf.ByteString getLocationBytes()
       Output only. The cloud location, e.g. "us-central1-a" or "asia-south1".
       
      string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLocationBytes in interface MirroringLocationOrBuilder
      Returns:
      The bytes for location.
    • setLocation

      public MirroringLocation.Builder setLocation(String value)
       Output only. The cloud location, e.g. "us-central1-a" or "asia-south1".
       
      string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The location to set.
      Returns:
      This builder for chaining.
    • clearLocation

      public MirroringLocation.Builder clearLocation()
       Output only. The cloud location, e.g. "us-central1-a" or "asia-south1".
       
      string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setLocationBytes

      public MirroringLocation.Builder setLocationBytes(com.google.protobuf.ByteString value)
       Output only. The cloud location, e.g. "us-central1-a" or "asia-south1".
       
      string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for location to set.
      Returns:
      This builder for chaining.
    • getStateValue

      public int getStateValue()
       Output only. The current state of the association in this location.
       
      .google.cloud.networksecurity.v1.MirroringLocation.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface MirroringLocationOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public MirroringLocation.Builder setStateValue(int value)
       Output only. The current state of the association in this location.
       
      .google.cloud.networksecurity.v1.MirroringLocation.State state = 2 [(.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

      public MirroringLocation.State getState()
       Output only. The current state of the association in this location.
       
      .google.cloud.networksecurity.v1.MirroringLocation.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface MirroringLocationOrBuilder
      Returns:
      The state.
    • setState

       Output only. The current state of the association in this location.
       
      .google.cloud.networksecurity.v1.MirroringLocation.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public MirroringLocation.Builder clearState()
       Output only. The current state of the association in this location.
       
      .google.cloud.networksecurity.v1.MirroringLocation.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.