Class MirroringDeploymentGroup.Deployment.Builder

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

public static final class MirroringDeploymentGroup.Deployment.Builder extends com.google.protobuf.GeneratedMessage.Builder<MirroringDeploymentGroup.Deployment.Builder> implements MirroringDeploymentGroup.DeploymentOrBuilder
 A deployment belonging to this deployment group.
 
Protobuf type google.cloud.networksecurity.v1.MirroringDeploymentGroup.Deployment
  • 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<MirroringDeploymentGroup.Deployment.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<MirroringDeploymentGroup.Deployment.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<MirroringDeploymentGroup.Deployment.Builder>
    • getDefaultInstanceForType

      public MirroringDeploymentGroup.Deployment 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

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

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

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

      public String getName()
       Output only. The name of the Mirroring Deployment, in the format:
       `projects/{project}/locations/{location}/mirroringDeployments/{mirroring_deployment}`.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getName in interface MirroringDeploymentGroup.DeploymentOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Output only. The name of the Mirroring Deployment, in the format:
       `projects/{project}/locations/{location}/mirroringDeployments/{mirroring_deployment}`.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getNameBytes in interface MirroringDeploymentGroup.DeploymentOrBuilder
      Returns:
      The bytes for name.
    • setName

       Output only. The name of the Mirroring Deployment, in the format:
       `projects/{project}/locations/{location}/mirroringDeployments/{mirroring_deployment}`.
       
      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 name of the Mirroring Deployment, in the format:
       `projects/{project}/locations/{location}/mirroringDeployments/{mirroring_deployment}`.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setNameBytes

      public MirroringDeploymentGroup.Deployment.Builder setNameBytes(com.google.protobuf.ByteString value)
       Output only. The name of the Mirroring Deployment, in the format:
       `projects/{project}/locations/{location}/mirroringDeployments/{mirroring_deployment}`.
       
      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.
    • getStateValue

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

      public MirroringDeploymentGroup.Deployment.Builder setStateValue(int value)
       Output only. Most recent known state of the deployment.
       
      .google.cloud.networksecurity.v1.MirroringDeployment.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 MirroringDeployment.State getState()
       Output only. Most recent known state of the deployment.
       
      .google.cloud.networksecurity.v1.MirroringDeployment.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface MirroringDeploymentGroup.DeploymentOrBuilder
      Returns:
      The state.
    • setState

       Output only. Most recent known state of the deployment.
       
      .google.cloud.networksecurity.v1.MirroringDeployment.State state = 2 [(.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 deployment.
       
      .google.cloud.networksecurity.v1.MirroringDeployment.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.