Class CustomMirroringProfile.Builder

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

public static final class CustomMirroringProfile.Builder extends com.google.protobuf.GeneratedMessage.Builder<CustomMirroringProfile.Builder> implements CustomMirroringProfileOrBuilder
 CustomMirroringProfile defines out-of-band integration behavior (mirroring).
 It is used by mirroring rules with a MIRROR action.
 
Protobuf type google.cloud.networksecurity.v1.CustomMirroringProfile
  • 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<CustomMirroringProfile.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<CustomMirroringProfile.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<CustomMirroringProfile.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public CustomMirroringProfile.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<CustomMirroringProfile.Builder>
      Throws:
      IOException
    • getMirroringEndpointGroup

      public String getMirroringEndpointGroup()
       Required. Immutable. The target MirroringEndpointGroup.
       When a mirroring rule with this security profile attached matches a packet,
       a replica will be mirrored to the location-local target in this group.
       
      string mirroring_endpoint_group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getMirroringEndpointGroup in interface CustomMirroringProfileOrBuilder
      Returns:
      The mirroringEndpointGroup.
    • getMirroringEndpointGroupBytes

      public com.google.protobuf.ByteString getMirroringEndpointGroupBytes()
       Required. Immutable. The target MirroringEndpointGroup.
       When a mirroring rule with this security profile attached matches a packet,
       a replica will be mirrored to the location-local target in this group.
       
      string mirroring_endpoint_group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getMirroringEndpointGroupBytes in interface CustomMirroringProfileOrBuilder
      Returns:
      The bytes for mirroringEndpointGroup.
    • setMirroringEndpointGroup

      public CustomMirroringProfile.Builder setMirroringEndpointGroup(String value)
       Required. Immutable. The target MirroringEndpointGroup.
       When a mirroring rule with this security profile attached matches a packet,
       a replica will be mirrored to the location-local target in this group.
       
      string mirroring_endpoint_group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The mirroringEndpointGroup to set.
      Returns:
      This builder for chaining.
    • clearMirroringEndpointGroup

      public CustomMirroringProfile.Builder clearMirroringEndpointGroup()
       Required. Immutable. The target MirroringEndpointGroup.
       When a mirroring rule with this security profile attached matches a packet,
       a replica will be mirrored to the location-local target in this group.
       
      string mirroring_endpoint_group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setMirroringEndpointGroupBytes

      public CustomMirroringProfile.Builder setMirroringEndpointGroupBytes(com.google.protobuf.ByteString value)
       Required. Immutable. The target MirroringEndpointGroup.
       When a mirroring rule with this security profile attached matches a packet,
       a replica will be mirrored to the location-local target in this group.
       
      string mirroring_endpoint_group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for mirroringEndpointGroup to set.
      Returns:
      This builder for chaining.