Class CreateMirroringDeploymentRequest.Builder

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

public static final class CreateMirroringDeploymentRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreateMirroringDeploymentRequest.Builder> implements CreateMirroringDeploymentRequestOrBuilder
 Request message for CreateMirroringDeployment.
 
Protobuf type google.cloud.networksecurity.v1.CreateMirroringDeploymentRequest
  • 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<CreateMirroringDeploymentRequest.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<CreateMirroringDeploymentRequest.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<CreateMirroringDeploymentRequest.Builder>
    • getDefaultInstanceForType

      public CreateMirroringDeploymentRequest 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 CreateMirroringDeploymentRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public CreateMirroringDeploymentRequest.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<CreateMirroringDeploymentRequest.Builder>
      Throws:
      IOException
    • getParent

      public String getParent()
       Required. The parent resource where this deployment will be created.
       Format: projects/{project}/locations/{location}
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface CreateMirroringDeploymentRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The parent resource where this deployment will be created.
       Format: projects/{project}/locations/{location}
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface CreateMirroringDeploymentRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

       Required. The parent resource where this deployment will be created.
       Format: projects/{project}/locations/{location}
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

       Required. The parent resource where this deployment will be created.
       Format: projects/{project}/locations/{location}
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public CreateMirroringDeploymentRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The parent resource where this deployment will be created.
       Format: projects/{project}/locations/{location}
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • getMirroringDeploymentId

      public String getMirroringDeploymentId()
       Required. The ID to use for the new deployment, which will become the final
       component of the deployment's resource name.
       
      string mirroring_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getMirroringDeploymentId in interface CreateMirroringDeploymentRequestOrBuilder
      Returns:
      The mirroringDeploymentId.
    • getMirroringDeploymentIdBytes

      public com.google.protobuf.ByteString getMirroringDeploymentIdBytes()
       Required. The ID to use for the new deployment, which will become the final
       component of the deployment's resource name.
       
      string mirroring_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getMirroringDeploymentIdBytes in interface CreateMirroringDeploymentRequestOrBuilder
      Returns:
      The bytes for mirroringDeploymentId.
    • setMirroringDeploymentId

      public CreateMirroringDeploymentRequest.Builder setMirroringDeploymentId(String value)
       Required. The ID to use for the new deployment, which will become the final
       component of the deployment's resource name.
       
      string mirroring_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The mirroringDeploymentId to set.
      Returns:
      This builder for chaining.
    • clearMirroringDeploymentId

      public CreateMirroringDeploymentRequest.Builder clearMirroringDeploymentId()
       Required. The ID to use for the new deployment, which will become the final
       component of the deployment's resource name.
       
      string mirroring_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setMirroringDeploymentIdBytes

      public CreateMirroringDeploymentRequest.Builder setMirroringDeploymentIdBytes(com.google.protobuf.ByteString value)
       Required. The ID to use for the new deployment, which will become the final
       component of the deployment's resource name.
       
      string mirroring_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for mirroringDeploymentId to set.
      Returns:
      This builder for chaining.
    • hasMirroringDeployment

      public boolean hasMirroringDeployment()
       Required. The deployment to create.
       
      .google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployment = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasMirroringDeployment in interface CreateMirroringDeploymentRequestOrBuilder
      Returns:
      Whether the mirroringDeployment field is set.
    • getMirroringDeployment

      public MirroringDeployment getMirroringDeployment()
       Required. The deployment to create.
       
      .google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployment = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getMirroringDeployment in interface CreateMirroringDeploymentRequestOrBuilder
      Returns:
      The mirroringDeployment.
    • setMirroringDeployment

      public CreateMirroringDeploymentRequest.Builder setMirroringDeployment(MirroringDeployment value)
       Required. The deployment to create.
       
      .google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployment = 3 [(.google.api.field_behavior) = REQUIRED];
    • setMirroringDeployment

      public CreateMirroringDeploymentRequest.Builder setMirroringDeployment(MirroringDeployment.Builder builderForValue)
       Required. The deployment to create.
       
      .google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployment = 3 [(.google.api.field_behavior) = REQUIRED];
    • mergeMirroringDeployment

      public CreateMirroringDeploymentRequest.Builder mergeMirroringDeployment(MirroringDeployment value)
       Required. The deployment to create.
       
      .google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployment = 3 [(.google.api.field_behavior) = REQUIRED];
    • clearMirroringDeployment

      public CreateMirroringDeploymentRequest.Builder clearMirroringDeployment()
       Required. The deployment to create.
       
      .google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployment = 3 [(.google.api.field_behavior) = REQUIRED];
    • getMirroringDeploymentBuilder

      public MirroringDeployment.Builder getMirroringDeploymentBuilder()
       Required. The deployment to create.
       
      .google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployment = 3 [(.google.api.field_behavior) = REQUIRED];
    • getMirroringDeploymentOrBuilder

      public MirroringDeploymentOrBuilder getMirroringDeploymentOrBuilder()
       Required. The deployment to create.
       
      .google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployment = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getMirroringDeploymentOrBuilder in interface CreateMirroringDeploymentRequestOrBuilder
    • getRequestId

      public String getRequestId()
       Optional. A unique identifier for this request. Must be a UUID4.
       This request is only idempotent if a `request_id` is provided.
       See https://google.aip.dev/155 for more details.
       
      string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
      Specified by:
      getRequestId in interface CreateMirroringDeploymentRequestOrBuilder
      Returns:
      The requestId.
    • getRequestIdBytes

      public com.google.protobuf.ByteString getRequestIdBytes()
       Optional. A unique identifier for this request. Must be a UUID4.
       This request is only idempotent if a `request_id` is provided.
       See https://google.aip.dev/155 for more details.
       
      string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
      Specified by:
      getRequestIdBytes in interface CreateMirroringDeploymentRequestOrBuilder
      Returns:
      The bytes for requestId.
    • setRequestId

      public CreateMirroringDeploymentRequest.Builder setRequestId(String value)
       Optional. A unique identifier for this request. Must be a UUID4.
       This request is only idempotent if a `request_id` is provided.
       See https://google.aip.dev/155 for more details.
       
      string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
      Parameters:
      value - The requestId to set.
      Returns:
      This builder for chaining.
    • clearRequestId

       Optional. A unique identifier for this request. Must be a UUID4.
       This request is only idempotent if a `request_id` is provided.
       See https://google.aip.dev/155 for more details.
       
      string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
      Returns:
      This builder for chaining.
    • setRequestIdBytes

      public CreateMirroringDeploymentRequest.Builder setRequestIdBytes(com.google.protobuf.ByteString value)
       Optional. A unique identifier for this request. Must be a UUID4.
       This request is only idempotent if a `request_id` is provided.
       See https://google.aip.dev/155 for more details.
       
      string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
      Parameters:
      value - The bytes for requestId to set.
      Returns:
      This builder for chaining.