Class CreateInterceptEndpointGroupRequest.Builder

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

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

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

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

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

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

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

       Required. The parent resource where this endpoint group 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 endpoint group 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 CreateInterceptEndpointGroupRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The parent resource where this endpoint group 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.
    • getInterceptEndpointGroupId

      public String getInterceptEndpointGroupId()
       Required. The ID to use for the endpoint group, which will become the final
       component of the endpoint group's resource name.
       
      string intercept_endpoint_group_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInterceptEndpointGroupId in interface CreateInterceptEndpointGroupRequestOrBuilder
      Returns:
      The interceptEndpointGroupId.
    • getInterceptEndpointGroupIdBytes

      public com.google.protobuf.ByteString getInterceptEndpointGroupIdBytes()
       Required. The ID to use for the endpoint group, which will become the final
       component of the endpoint group's resource name.
       
      string intercept_endpoint_group_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInterceptEndpointGroupIdBytes in interface CreateInterceptEndpointGroupRequestOrBuilder
      Returns:
      The bytes for interceptEndpointGroupId.
    • setInterceptEndpointGroupId

      public CreateInterceptEndpointGroupRequest.Builder setInterceptEndpointGroupId(String value)
       Required. The ID to use for the endpoint group, which will become the final
       component of the endpoint group's resource name.
       
      string intercept_endpoint_group_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The interceptEndpointGroupId to set.
      Returns:
      This builder for chaining.
    • clearInterceptEndpointGroupId

      public CreateInterceptEndpointGroupRequest.Builder clearInterceptEndpointGroupId()
       Required. The ID to use for the endpoint group, which will become the final
       component of the endpoint group's resource name.
       
      string intercept_endpoint_group_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setInterceptEndpointGroupIdBytes

      public CreateInterceptEndpointGroupRequest.Builder setInterceptEndpointGroupIdBytes(com.google.protobuf.ByteString value)
       Required. The ID to use for the endpoint group, which will become the final
       component of the endpoint group's resource name.
       
      string intercept_endpoint_group_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for interceptEndpointGroupId to set.
      Returns:
      This builder for chaining.
    • hasInterceptEndpointGroup

      public boolean hasInterceptEndpointGroup()
       Required. The endpoint group to create.
       
      .google.cloud.networksecurity.v1.InterceptEndpointGroup intercept_endpoint_group = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasInterceptEndpointGroup in interface CreateInterceptEndpointGroupRequestOrBuilder
      Returns:
      Whether the interceptEndpointGroup field is set.
    • getInterceptEndpointGroup

      public InterceptEndpointGroup getInterceptEndpointGroup()
       Required. The endpoint group to create.
       
      .google.cloud.networksecurity.v1.InterceptEndpointGroup intercept_endpoint_group = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInterceptEndpointGroup in interface CreateInterceptEndpointGroupRequestOrBuilder
      Returns:
      The interceptEndpointGroup.
    • setInterceptEndpointGroup

      public CreateInterceptEndpointGroupRequest.Builder setInterceptEndpointGroup(InterceptEndpointGroup value)
       Required. The endpoint group to create.
       
      .google.cloud.networksecurity.v1.InterceptEndpointGroup intercept_endpoint_group = 3 [(.google.api.field_behavior) = REQUIRED];
    • setInterceptEndpointGroup

      public CreateInterceptEndpointGroupRequest.Builder setInterceptEndpointGroup(InterceptEndpointGroup.Builder builderForValue)
       Required. The endpoint group to create.
       
      .google.cloud.networksecurity.v1.InterceptEndpointGroup intercept_endpoint_group = 3 [(.google.api.field_behavior) = REQUIRED];
    • mergeInterceptEndpointGroup

      public CreateInterceptEndpointGroupRequest.Builder mergeInterceptEndpointGroup(InterceptEndpointGroup value)
       Required. The endpoint group to create.
       
      .google.cloud.networksecurity.v1.InterceptEndpointGroup intercept_endpoint_group = 3 [(.google.api.field_behavior) = REQUIRED];
    • clearInterceptEndpointGroup

      public CreateInterceptEndpointGroupRequest.Builder clearInterceptEndpointGroup()
       Required. The endpoint group to create.
       
      .google.cloud.networksecurity.v1.InterceptEndpointGroup intercept_endpoint_group = 3 [(.google.api.field_behavior) = REQUIRED];
    • getInterceptEndpointGroupBuilder

      public InterceptEndpointGroup.Builder getInterceptEndpointGroupBuilder()
       Required. The endpoint group to create.
       
      .google.cloud.networksecurity.v1.InterceptEndpointGroup intercept_endpoint_group = 3 [(.google.api.field_behavior) = REQUIRED];
    • getInterceptEndpointGroupOrBuilder

      public InterceptEndpointGroupOrBuilder getInterceptEndpointGroupOrBuilder()
       Required. The endpoint group to create.
       
      .google.cloud.networksecurity.v1.InterceptEndpointGroup intercept_endpoint_group = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInterceptEndpointGroupOrBuilder in interface CreateInterceptEndpointGroupRequestOrBuilder
    • 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 CreateInterceptEndpointGroupRequestOrBuilder
      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 CreateInterceptEndpointGroupRequestOrBuilder
      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 CreateInterceptEndpointGroupRequest.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.