Class CreateTlsInspectionPolicyRequest.Builder

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

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

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

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

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

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

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

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

      public CreateTlsInspectionPolicyRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The parent resource of the TlsInspectionPolicy. Must be in the
       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.
    • getTlsInspectionPolicyId

      public String getTlsInspectionPolicyId()
       Required. Short name of the TlsInspectionPolicy 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. "tls_inspection_policy1".
       
      string tls_inspection_policy_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTlsInspectionPolicyId in interface CreateTlsInspectionPolicyRequestOrBuilder
      Returns:
      The tlsInspectionPolicyId.
    • getTlsInspectionPolicyIdBytes

      public com.google.protobuf.ByteString getTlsInspectionPolicyIdBytes()
       Required. Short name of the TlsInspectionPolicy 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. "tls_inspection_policy1".
       
      string tls_inspection_policy_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTlsInspectionPolicyIdBytes in interface CreateTlsInspectionPolicyRequestOrBuilder
      Returns:
      The bytes for tlsInspectionPolicyId.
    • setTlsInspectionPolicyId

      public CreateTlsInspectionPolicyRequest.Builder setTlsInspectionPolicyId(String value)
       Required. Short name of the TlsInspectionPolicy 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. "tls_inspection_policy1".
       
      string tls_inspection_policy_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The tlsInspectionPolicyId to set.
      Returns:
      This builder for chaining.
    • clearTlsInspectionPolicyId

      public CreateTlsInspectionPolicyRequest.Builder clearTlsInspectionPolicyId()
       Required. Short name of the TlsInspectionPolicy 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. "tls_inspection_policy1".
       
      string tls_inspection_policy_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setTlsInspectionPolicyIdBytes

      public CreateTlsInspectionPolicyRequest.Builder setTlsInspectionPolicyIdBytes(com.google.protobuf.ByteString value)
       Required. Short name of the TlsInspectionPolicy 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. "tls_inspection_policy1".
       
      string tls_inspection_policy_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for tlsInspectionPolicyId to set.
      Returns:
      This builder for chaining.
    • hasTlsInspectionPolicy

      public boolean hasTlsInspectionPolicy()
       Required. TlsInspectionPolicy resource to be created.
       
      .google.cloud.networksecurity.v1.TlsInspectionPolicy tls_inspection_policy = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasTlsInspectionPolicy in interface CreateTlsInspectionPolicyRequestOrBuilder
      Returns:
      Whether the tlsInspectionPolicy field is set.
    • getTlsInspectionPolicy

      public TlsInspectionPolicy getTlsInspectionPolicy()
       Required. TlsInspectionPolicy resource to be created.
       
      .google.cloud.networksecurity.v1.TlsInspectionPolicy tls_inspection_policy = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTlsInspectionPolicy in interface CreateTlsInspectionPolicyRequestOrBuilder
      Returns:
      The tlsInspectionPolicy.
    • setTlsInspectionPolicy

      public CreateTlsInspectionPolicyRequest.Builder setTlsInspectionPolicy(TlsInspectionPolicy value)
       Required. TlsInspectionPolicy resource to be created.
       
      .google.cloud.networksecurity.v1.TlsInspectionPolicy tls_inspection_policy = 3 [(.google.api.field_behavior) = REQUIRED];
    • setTlsInspectionPolicy

      public CreateTlsInspectionPolicyRequest.Builder setTlsInspectionPolicy(TlsInspectionPolicy.Builder builderForValue)
       Required. TlsInspectionPolicy resource to be created.
       
      .google.cloud.networksecurity.v1.TlsInspectionPolicy tls_inspection_policy = 3 [(.google.api.field_behavior) = REQUIRED];
    • mergeTlsInspectionPolicy

      public CreateTlsInspectionPolicyRequest.Builder mergeTlsInspectionPolicy(TlsInspectionPolicy value)
       Required. TlsInspectionPolicy resource to be created.
       
      .google.cloud.networksecurity.v1.TlsInspectionPolicy tls_inspection_policy = 3 [(.google.api.field_behavior) = REQUIRED];
    • clearTlsInspectionPolicy

      public CreateTlsInspectionPolicyRequest.Builder clearTlsInspectionPolicy()
       Required. TlsInspectionPolicy resource to be created.
       
      .google.cloud.networksecurity.v1.TlsInspectionPolicy tls_inspection_policy = 3 [(.google.api.field_behavior) = REQUIRED];
    • getTlsInspectionPolicyBuilder

      public TlsInspectionPolicy.Builder getTlsInspectionPolicyBuilder()
       Required. TlsInspectionPolicy resource to be created.
       
      .google.cloud.networksecurity.v1.TlsInspectionPolicy tls_inspection_policy = 3 [(.google.api.field_behavior) = REQUIRED];
    • getTlsInspectionPolicyOrBuilder

      public TlsInspectionPolicyOrBuilder getTlsInspectionPolicyOrBuilder()
       Required. TlsInspectionPolicy resource to be created.
       
      .google.cloud.networksecurity.v1.TlsInspectionPolicy tls_inspection_policy = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTlsInspectionPolicyOrBuilder in interface CreateTlsInspectionPolicyRequestOrBuilder