Class CreateTlsInspectionPolicyRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.networksecurity.v1.CreateTlsInspectionPolicyRequest
All Implemented Interfaces:
CreateTlsInspectionPolicyRequestOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class CreateTlsInspectionPolicyRequest extends com.google.protobuf.GeneratedMessage implements CreateTlsInspectionPolicyRequestOrBuilder
 Request used by the CreateTlsInspectionPolicy method.
 
Protobuf type google.cloud.networksecurity.v1.CreateTlsInspectionPolicyRequest
See Also:
  • Field Details

    • PARENT_FIELD_NUMBER

      public static final int PARENT_FIELD_NUMBER
      See Also:
    • TLS_INSPECTION_POLICY_ID_FIELD_NUMBER

      public static final int TLS_INSPECTION_POLICY_ID_FIELD_NUMBER
      See Also:
    • TLS_INSPECTION_POLICY_FIELD_NUMBER

      public static final int TLS_INSPECTION_POLICY_FIELD_NUMBER
      See Also:
  • 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
    • 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.
    • 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.
    • 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.
    • 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
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static CreateTlsInspectionPolicyRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CreateTlsInspectionPolicyRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CreateTlsInspectionPolicyRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CreateTlsInspectionPolicyRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CreateTlsInspectionPolicyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CreateTlsInspectionPolicyRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CreateTlsInspectionPolicyRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CreateTlsInspectionPolicyRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static CreateTlsInspectionPolicyRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static CreateTlsInspectionPolicyRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CreateTlsInspectionPolicyRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CreateTlsInspectionPolicyRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public CreateTlsInspectionPolicyRequest.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static CreateTlsInspectionPolicyRequest.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected CreateTlsInspectionPolicyRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static CreateTlsInspectionPolicyRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<CreateTlsInspectionPolicyRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<CreateTlsInspectionPolicyRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public CreateTlsInspectionPolicyRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder