Class CreateBackendAuthenticationConfigRequest.Builder

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

public static final class CreateBackendAuthenticationConfigRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreateBackendAuthenticationConfigRequest.Builder> implements CreateBackendAuthenticationConfigRequestOrBuilder
 Request used by the CreateBackendAuthenticationConfig method.
 
Protobuf type google.cloud.networksecurity.v1.CreateBackendAuthenticationConfigRequest
  • 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<CreateBackendAuthenticationConfigRequest.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<CreateBackendAuthenticationConfigRequest.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<CreateBackendAuthenticationConfigRequest.Builder>
    • getDefaultInstanceForType

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

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

      public String getParent()
       Required. The parent resource of the BackendAuthenticationConfig. Must be
       in the format `projects/*/locations/{location}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface CreateBackendAuthenticationConfigRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The parent resource of the BackendAuthenticationConfig. Must be
       in the format `projects/*/locations/{location}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface CreateBackendAuthenticationConfigRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

       Required. The parent resource of the BackendAuthenticationConfig. Must be
       in the format `projects/*/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 of the BackendAuthenticationConfig. Must be
       in the format `projects/*/locations/{location}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public CreateBackendAuthenticationConfigRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The parent resource of the BackendAuthenticationConfig. Must be
       in the format `projects/*/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.
    • getBackendAuthenticationConfigId

      public String getBackendAuthenticationConfigId()
       Required. Short name of the BackendAuthenticationConfig resource to be
       created. This value should be 1-63 characters long, containing only
       letters, numbers, hyphens, and underscores, and should not start with a
       number. E.g. "backend-auth-config".
       
      string backend_authentication_config_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getBackendAuthenticationConfigId in interface CreateBackendAuthenticationConfigRequestOrBuilder
      Returns:
      The backendAuthenticationConfigId.
    • getBackendAuthenticationConfigIdBytes

      public com.google.protobuf.ByteString getBackendAuthenticationConfigIdBytes()
       Required. Short name of the BackendAuthenticationConfig resource to be
       created. This value should be 1-63 characters long, containing only
       letters, numbers, hyphens, and underscores, and should not start with a
       number. E.g. "backend-auth-config".
       
      string backend_authentication_config_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getBackendAuthenticationConfigIdBytes in interface CreateBackendAuthenticationConfigRequestOrBuilder
      Returns:
      The bytes for backendAuthenticationConfigId.
    • setBackendAuthenticationConfigId

      public CreateBackendAuthenticationConfigRequest.Builder setBackendAuthenticationConfigId(String value)
       Required. Short name of the BackendAuthenticationConfig resource to be
       created. This value should be 1-63 characters long, containing only
       letters, numbers, hyphens, and underscores, and should not start with a
       number. E.g. "backend-auth-config".
       
      string backend_authentication_config_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The backendAuthenticationConfigId to set.
      Returns:
      This builder for chaining.
    • clearBackendAuthenticationConfigId

      public CreateBackendAuthenticationConfigRequest.Builder clearBackendAuthenticationConfigId()
       Required. Short name of the BackendAuthenticationConfig resource to be
       created. This value should be 1-63 characters long, containing only
       letters, numbers, hyphens, and underscores, and should not start with a
       number. E.g. "backend-auth-config".
       
      string backend_authentication_config_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setBackendAuthenticationConfigIdBytes

      public CreateBackendAuthenticationConfigRequest.Builder setBackendAuthenticationConfigIdBytes(com.google.protobuf.ByteString value)
       Required. Short name of the BackendAuthenticationConfig resource to be
       created. This value should be 1-63 characters long, containing only
       letters, numbers, hyphens, and underscores, and should not start with a
       number. E.g. "backend-auth-config".
       
      string backend_authentication_config_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for backendAuthenticationConfigId to set.
      Returns:
      This builder for chaining.
    • hasBackendAuthenticationConfig

      public boolean hasBackendAuthenticationConfig()
       Required. BackendAuthenticationConfig resource to be created.
       
      .google.cloud.networksecurity.v1.BackendAuthenticationConfig backend_authentication_config = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasBackendAuthenticationConfig in interface CreateBackendAuthenticationConfigRequestOrBuilder
      Returns:
      Whether the backendAuthenticationConfig field is set.
    • getBackendAuthenticationConfig

      public BackendAuthenticationConfig getBackendAuthenticationConfig()
       Required. BackendAuthenticationConfig resource to be created.
       
      .google.cloud.networksecurity.v1.BackendAuthenticationConfig backend_authentication_config = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getBackendAuthenticationConfig in interface CreateBackendAuthenticationConfigRequestOrBuilder
      Returns:
      The backendAuthenticationConfig.
    • setBackendAuthenticationConfig

       Required. BackendAuthenticationConfig resource to be created.
       
      .google.cloud.networksecurity.v1.BackendAuthenticationConfig backend_authentication_config = 3 [(.google.api.field_behavior) = REQUIRED];
    • setBackendAuthenticationConfig

      public CreateBackendAuthenticationConfigRequest.Builder setBackendAuthenticationConfig(BackendAuthenticationConfig.Builder builderForValue)
       Required. BackendAuthenticationConfig resource to be created.
       
      .google.cloud.networksecurity.v1.BackendAuthenticationConfig backend_authentication_config = 3 [(.google.api.field_behavior) = REQUIRED];
    • mergeBackendAuthenticationConfig

      public CreateBackendAuthenticationConfigRequest.Builder mergeBackendAuthenticationConfig(BackendAuthenticationConfig value)
       Required. BackendAuthenticationConfig resource to be created.
       
      .google.cloud.networksecurity.v1.BackendAuthenticationConfig backend_authentication_config = 3 [(.google.api.field_behavior) = REQUIRED];
    • clearBackendAuthenticationConfig

      public CreateBackendAuthenticationConfigRequest.Builder clearBackendAuthenticationConfig()
       Required. BackendAuthenticationConfig resource to be created.
       
      .google.cloud.networksecurity.v1.BackendAuthenticationConfig backend_authentication_config = 3 [(.google.api.field_behavior) = REQUIRED];
    • getBackendAuthenticationConfigBuilder

      public BackendAuthenticationConfig.Builder getBackendAuthenticationConfigBuilder()
       Required. BackendAuthenticationConfig resource to be created.
       
      .google.cloud.networksecurity.v1.BackendAuthenticationConfig backend_authentication_config = 3 [(.google.api.field_behavior) = REQUIRED];
    • getBackendAuthenticationConfigOrBuilder

      public BackendAuthenticationConfigOrBuilder getBackendAuthenticationConfigOrBuilder()
       Required. BackendAuthenticationConfig resource to be created.
       
      .google.cloud.networksecurity.v1.BackendAuthenticationConfig backend_authentication_config = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getBackendAuthenticationConfigOrBuilder in interface CreateBackendAuthenticationConfigRequestOrBuilder