Class CreateMirroringEndpointGroupAssociationRequest.Builder

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

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

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

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

      public String getParent()
       Required. The parent resource where this association 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 CreateMirroringEndpointGroupAssociationRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The parent resource where this association 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 CreateMirroringEndpointGroupAssociationRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

       Required. The parent resource where this association 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 association 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 CreateMirroringEndpointGroupAssociationRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The parent resource where this association 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.
    • getMirroringEndpointGroupAssociationId

      public String getMirroringEndpointGroupAssociationId()
       Optional. The ID to use for the new association, which will become the
       final component of the endpoint group's resource name. If not provided, the
       server will generate a unique ID.
       
      string mirroring_endpoint_group_association_id = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMirroringEndpointGroupAssociationId in interface CreateMirroringEndpointGroupAssociationRequestOrBuilder
      Returns:
      The mirroringEndpointGroupAssociationId.
    • getMirroringEndpointGroupAssociationIdBytes

      public com.google.protobuf.ByteString getMirroringEndpointGroupAssociationIdBytes()
       Optional. The ID to use for the new association, which will become the
       final component of the endpoint group's resource name. If not provided, the
       server will generate a unique ID.
       
      string mirroring_endpoint_group_association_id = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMirroringEndpointGroupAssociationIdBytes in interface CreateMirroringEndpointGroupAssociationRequestOrBuilder
      Returns:
      The bytes for mirroringEndpointGroupAssociationId.
    • setMirroringEndpointGroupAssociationId

      public CreateMirroringEndpointGroupAssociationRequest.Builder setMirroringEndpointGroupAssociationId(String value)
       Optional. The ID to use for the new association, which will become the
       final component of the endpoint group's resource name. If not provided, the
       server will generate a unique ID.
       
      string mirroring_endpoint_group_association_id = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The mirroringEndpointGroupAssociationId to set.
      Returns:
      This builder for chaining.
    • clearMirroringEndpointGroupAssociationId

      public CreateMirroringEndpointGroupAssociationRequest.Builder clearMirroringEndpointGroupAssociationId()
       Optional. The ID to use for the new association, which will become the
       final component of the endpoint group's resource name. If not provided, the
       server will generate a unique ID.
       
      string mirroring_endpoint_group_association_id = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setMirroringEndpointGroupAssociationIdBytes

      public CreateMirroringEndpointGroupAssociationRequest.Builder setMirroringEndpointGroupAssociationIdBytes(com.google.protobuf.ByteString value)
       Optional. The ID to use for the new association, which will become the
       final component of the endpoint group's resource name. If not provided, the
       server will generate a unique ID.
       
      string mirroring_endpoint_group_association_id = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for mirroringEndpointGroupAssociationId to set.
      Returns:
      This builder for chaining.
    • hasMirroringEndpointGroupAssociation

      public boolean hasMirroringEndpointGroupAssociation()
       Required. The association to create.
       
      .google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation mirroring_endpoint_group_association = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasMirroringEndpointGroupAssociation in interface CreateMirroringEndpointGroupAssociationRequestOrBuilder
      Returns:
      Whether the mirroringEndpointGroupAssociation field is set.
    • getMirroringEndpointGroupAssociation

      public MirroringEndpointGroupAssociation getMirroringEndpointGroupAssociation()
       Required. The association to create.
       
      .google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation mirroring_endpoint_group_association = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getMirroringEndpointGroupAssociation in interface CreateMirroringEndpointGroupAssociationRequestOrBuilder
      Returns:
      The mirroringEndpointGroupAssociation.
    • setMirroringEndpointGroupAssociation

       Required. The association to create.
       
      .google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation mirroring_endpoint_group_association = 3 [(.google.api.field_behavior) = REQUIRED];
    • setMirroringEndpointGroupAssociation

      public CreateMirroringEndpointGroupAssociationRequest.Builder setMirroringEndpointGroupAssociation(MirroringEndpointGroupAssociation.Builder builderForValue)
       Required. The association to create.
       
      .google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation mirroring_endpoint_group_association = 3 [(.google.api.field_behavior) = REQUIRED];
    • mergeMirroringEndpointGroupAssociation

       Required. The association to create.
       
      .google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation mirroring_endpoint_group_association = 3 [(.google.api.field_behavior) = REQUIRED];
    • clearMirroringEndpointGroupAssociation

      public CreateMirroringEndpointGroupAssociationRequest.Builder clearMirroringEndpointGroupAssociation()
       Required. The association to create.
       
      .google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation mirroring_endpoint_group_association = 3 [(.google.api.field_behavior) = REQUIRED];
    • getMirroringEndpointGroupAssociationBuilder

      public MirroringEndpointGroupAssociation.Builder getMirroringEndpointGroupAssociationBuilder()
       Required. The association to create.
       
      .google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation mirroring_endpoint_group_association = 3 [(.google.api.field_behavior) = REQUIRED];
    • getMirroringEndpointGroupAssociationOrBuilder

      public MirroringEndpointGroupAssociationOrBuilder getMirroringEndpointGroupAssociationOrBuilder()
       Required. The association to create.
       
      .google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation mirroring_endpoint_group_association = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getMirroringEndpointGroupAssociationOrBuilder in interface CreateMirroringEndpointGroupAssociationRequestOrBuilder
    • 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 CreateMirroringEndpointGroupAssociationRequestOrBuilder
      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 CreateMirroringEndpointGroupAssociationRequestOrBuilder
      Returns:
      The bytes for requestId.
    • setRequestId

       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 CreateMirroringEndpointGroupAssociationRequest.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.