Class CreateClientTlsPolicyRequest.Builder

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

public static final class CreateClientTlsPolicyRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreateClientTlsPolicyRequest.Builder> implements CreateClientTlsPolicyRequestOrBuilder
 Request used by the CreateClientTlsPolicy method.
 
Protobuf type google.cloud.networksecurity.v1beta1.CreateClientTlsPolicyRequest
  • 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<CreateClientTlsPolicyRequest.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<CreateClientTlsPolicyRequest.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<CreateClientTlsPolicyRequest.Builder>
    • getDefaultInstanceForType

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

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

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

      public String getParent()
       Required. The parent resource of the ClientTlsPolicy. 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 CreateClientTlsPolicyRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The parent resource of the ClientTlsPolicy. 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 CreateClientTlsPolicyRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public CreateClientTlsPolicyRequest.Builder setParent(String value)
       Required. The parent resource of the ClientTlsPolicy. 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 ClientTlsPolicy. 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 CreateClientTlsPolicyRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The parent resource of the ClientTlsPolicy. 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.
    • getClientTlsPolicyId

      public String getClientTlsPolicyId()
       Required. Short name of the ClientTlsPolicy 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.
       "client_mtls_policy".
       
      string client_tls_policy_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getClientTlsPolicyId in interface CreateClientTlsPolicyRequestOrBuilder
      Returns:
      The clientTlsPolicyId.
    • getClientTlsPolicyIdBytes

      public com.google.protobuf.ByteString getClientTlsPolicyIdBytes()
       Required. Short name of the ClientTlsPolicy 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.
       "client_mtls_policy".
       
      string client_tls_policy_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getClientTlsPolicyIdBytes in interface CreateClientTlsPolicyRequestOrBuilder
      Returns:
      The bytes for clientTlsPolicyId.
    • setClientTlsPolicyId

      public CreateClientTlsPolicyRequest.Builder setClientTlsPolicyId(String value)
       Required. Short name of the ClientTlsPolicy 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.
       "client_mtls_policy".
       
      string client_tls_policy_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The clientTlsPolicyId to set.
      Returns:
      This builder for chaining.
    • clearClientTlsPolicyId

      public CreateClientTlsPolicyRequest.Builder clearClientTlsPolicyId()
       Required. Short name of the ClientTlsPolicy 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.
       "client_mtls_policy".
       
      string client_tls_policy_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setClientTlsPolicyIdBytes

      public CreateClientTlsPolicyRequest.Builder setClientTlsPolicyIdBytes(com.google.protobuf.ByteString value)
       Required. Short name of the ClientTlsPolicy 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.
       "client_mtls_policy".
       
      string client_tls_policy_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for clientTlsPolicyId to set.
      Returns:
      This builder for chaining.
    • hasClientTlsPolicy

      public boolean hasClientTlsPolicy()
       Required. ClientTlsPolicy resource to be created.
       
      .google.cloud.networksecurity.v1beta1.ClientTlsPolicy client_tls_policy = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasClientTlsPolicy in interface CreateClientTlsPolicyRequestOrBuilder
      Returns:
      Whether the clientTlsPolicy field is set.
    • getClientTlsPolicy

      public ClientTlsPolicy getClientTlsPolicy()
       Required. ClientTlsPolicy resource to be created.
       
      .google.cloud.networksecurity.v1beta1.ClientTlsPolicy client_tls_policy = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getClientTlsPolicy in interface CreateClientTlsPolicyRequestOrBuilder
      Returns:
      The clientTlsPolicy.
    • setClientTlsPolicy

      public CreateClientTlsPolicyRequest.Builder setClientTlsPolicy(ClientTlsPolicy value)
       Required. ClientTlsPolicy resource to be created.
       
      .google.cloud.networksecurity.v1beta1.ClientTlsPolicy client_tls_policy = 3 [(.google.api.field_behavior) = REQUIRED];
    • setClientTlsPolicy

      public CreateClientTlsPolicyRequest.Builder setClientTlsPolicy(ClientTlsPolicy.Builder builderForValue)
       Required. ClientTlsPolicy resource to be created.
       
      .google.cloud.networksecurity.v1beta1.ClientTlsPolicy client_tls_policy = 3 [(.google.api.field_behavior) = REQUIRED];
    • mergeClientTlsPolicy

      public CreateClientTlsPolicyRequest.Builder mergeClientTlsPolicy(ClientTlsPolicy value)
       Required. ClientTlsPolicy resource to be created.
       
      .google.cloud.networksecurity.v1beta1.ClientTlsPolicy client_tls_policy = 3 [(.google.api.field_behavior) = REQUIRED];
    • clearClientTlsPolicy

      public CreateClientTlsPolicyRequest.Builder clearClientTlsPolicy()
       Required. ClientTlsPolicy resource to be created.
       
      .google.cloud.networksecurity.v1beta1.ClientTlsPolicy client_tls_policy = 3 [(.google.api.field_behavior) = REQUIRED];
    • getClientTlsPolicyBuilder

      public ClientTlsPolicy.Builder getClientTlsPolicyBuilder()
       Required. ClientTlsPolicy resource to be created.
       
      .google.cloud.networksecurity.v1beta1.ClientTlsPolicy client_tls_policy = 3 [(.google.api.field_behavior) = REQUIRED];
    • getClientTlsPolicyOrBuilder

      public ClientTlsPolicyOrBuilder getClientTlsPolicyOrBuilder()
       Required. ClientTlsPolicy resource to be created.
       
      .google.cloud.networksecurity.v1beta1.ClientTlsPolicy client_tls_policy = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getClientTlsPolicyOrBuilder in interface CreateClientTlsPolicyRequestOrBuilder