Class Security.Tls.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Security.Tls.Builder>
com.google.protobuf.GeneratedMessage.Builder<Security.Tls.Builder>
io.grpc.channelz.v1.Security.Tls.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Security.TlsOrBuilder, Cloneable
Enclosing class:
Security.Tls

public static final class Security.Tls.Builder extends com.google.protobuf.GeneratedMessage.Builder<Security.Tls.Builder> implements Security.TlsOrBuilder
Protobuf type grpc.channelz.v1.Security.Tls
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
     
    the certificate used by this endpoint.
    Some other way to describe the cipher suite if the RFC 4346 name is not available.
    the certificate used by the remote endpoint.
    The cipher suite name in the RFC 4346 format: https://tools.ietf.org/html/rfc4346#appendix-C
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.ByteString
    the certificate used by this endpoint.
    Some other way to describe the cipher suite if the RFC 4346 name is not available.
    com.google.protobuf.ByteString
    Some other way to describe the cipher suite if the RFC 4346 name is not available.
    com.google.protobuf.ByteString
    the certificate used by the remote endpoint.
    The cipher suite name in the RFC 4346 format: https://tools.ietf.org/html/rfc4346#appendix-C
    com.google.protobuf.ByteString
    The cipher suite name in the RFC 4346 format: https://tools.ietf.org/html/rfc4346#appendix-C
    boolean
    Some other way to describe the cipher suite if the RFC 4346 name is not available.
    boolean
    The cipher suite name in the RFC 4346 format: https://tools.ietf.org/html/rfc4346#appendix-C
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
     
    setLocalCertificate(com.google.protobuf.ByteString value)
    the certificate used by this endpoint.
    Some other way to describe the cipher suite if the RFC 4346 name is not available.
    setOtherNameBytes(com.google.protobuf.ByteString value)
    Some other way to describe the cipher suite if the RFC 4346 name is not available.
    setRemoteCertificate(com.google.protobuf.ByteString value)
    the certificate used by the remote endpoint.
    The cipher suite name in the RFC 4346 format: https://tools.ietf.org/html/rfc4346#appendix-C
    setStandardNameBytes(com.google.protobuf.ByteString value)
    The cipher suite name in the RFC 4346 format: https://tools.ietf.org/html/rfc4346#appendix-C

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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<Security.Tls.Builder>
    • clear

      public Security.Tls.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<Security.Tls.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<Security.Tls.Builder>
    • getDefaultInstanceForType

      public Security.Tls getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Security.Tls build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Security.Tls buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public Security.Tls.Builder mergeFrom(Security.Tls other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Security.Tls.Builder>
    • mergeFrom

      public Security.Tls.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<Security.Tls.Builder>
      Throws:
      IOException
    • getCipherSuiteCase

      public Security.Tls.CipherSuiteCase getCipherSuiteCase()
      Specified by:
      getCipherSuiteCase in interface Security.TlsOrBuilder
    • clearCipherSuite

      public Security.Tls.Builder clearCipherSuite()
    • hasStandardName

      public boolean hasStandardName()
      The cipher suite name in the RFC 4346 format:
      https://tools.ietf.org/html/rfc4346#appendix-C
      
      string standard_name = 1;
      Specified by:
      hasStandardName in interface Security.TlsOrBuilder
      Returns:
      Whether the standardName field is set.
    • getStandardName

      public String getStandardName()
      The cipher suite name in the RFC 4346 format:
      https://tools.ietf.org/html/rfc4346#appendix-C
      
      string standard_name = 1;
      Specified by:
      getStandardName in interface Security.TlsOrBuilder
      Returns:
      The standardName.
    • getStandardNameBytes

      public com.google.protobuf.ByteString getStandardNameBytes()
      The cipher suite name in the RFC 4346 format:
      https://tools.ietf.org/html/rfc4346#appendix-C
      
      string standard_name = 1;
      Specified by:
      getStandardNameBytes in interface Security.TlsOrBuilder
      Returns:
      The bytes for standardName.
    • setStandardName

      public Security.Tls.Builder setStandardName(String value)
      The cipher suite name in the RFC 4346 format:
      https://tools.ietf.org/html/rfc4346#appendix-C
      
      string standard_name = 1;
      Parameters:
      value - The standardName to set.
      Returns:
      This builder for chaining.
    • clearStandardName

      public Security.Tls.Builder clearStandardName()
      The cipher suite name in the RFC 4346 format:
      https://tools.ietf.org/html/rfc4346#appendix-C
      
      string standard_name = 1;
      Returns:
      This builder for chaining.
    • setStandardNameBytes

      public Security.Tls.Builder setStandardNameBytes(com.google.protobuf.ByteString value)
      The cipher suite name in the RFC 4346 format:
      https://tools.ietf.org/html/rfc4346#appendix-C
      
      string standard_name = 1;
      Parameters:
      value - The bytes for standardName to set.
      Returns:
      This builder for chaining.
    • hasOtherName

      public boolean hasOtherName()
      Some other way to describe the cipher suite if
      the RFC 4346 name is not available.
      
      string other_name = 2;
      Specified by:
      hasOtherName in interface Security.TlsOrBuilder
      Returns:
      Whether the otherName field is set.
    • getOtherName

      public String getOtherName()
      Some other way to describe the cipher suite if
      the RFC 4346 name is not available.
      
      string other_name = 2;
      Specified by:
      getOtherName in interface Security.TlsOrBuilder
      Returns:
      The otherName.
    • getOtherNameBytes

      public com.google.protobuf.ByteString getOtherNameBytes()
      Some other way to describe the cipher suite if
      the RFC 4346 name is not available.
      
      string other_name = 2;
      Specified by:
      getOtherNameBytes in interface Security.TlsOrBuilder
      Returns:
      The bytes for otherName.
    • setOtherName

      public Security.Tls.Builder setOtherName(String value)
      Some other way to describe the cipher suite if
      the RFC 4346 name is not available.
      
      string other_name = 2;
      Parameters:
      value - The otherName to set.
      Returns:
      This builder for chaining.
    • clearOtherName

      public Security.Tls.Builder clearOtherName()
      Some other way to describe the cipher suite if
      the RFC 4346 name is not available.
      
      string other_name = 2;
      Returns:
      This builder for chaining.
    • setOtherNameBytes

      public Security.Tls.Builder setOtherNameBytes(com.google.protobuf.ByteString value)
      Some other way to describe the cipher suite if
      the RFC 4346 name is not available.
      
      string other_name = 2;
      Parameters:
      value - The bytes for otherName to set.
      Returns:
      This builder for chaining.
    • getLocalCertificate

      public com.google.protobuf.ByteString getLocalCertificate()
      the certificate used by this endpoint.
      
      bytes local_certificate = 3;
      Specified by:
      getLocalCertificate in interface Security.TlsOrBuilder
      Returns:
      The localCertificate.
    • setLocalCertificate

      public Security.Tls.Builder setLocalCertificate(com.google.protobuf.ByteString value)
      the certificate used by this endpoint.
      
      bytes local_certificate = 3;
      Parameters:
      value - The localCertificate to set.
      Returns:
      This builder for chaining.
    • clearLocalCertificate

      public Security.Tls.Builder clearLocalCertificate()
      the certificate used by this endpoint.
      
      bytes local_certificate = 3;
      Returns:
      This builder for chaining.
    • getRemoteCertificate

      public com.google.protobuf.ByteString getRemoteCertificate()
      the certificate used by the remote endpoint.
      
      bytes remote_certificate = 4;
      Specified by:
      getRemoteCertificate in interface Security.TlsOrBuilder
      Returns:
      The remoteCertificate.
    • setRemoteCertificate

      public Security.Tls.Builder setRemoteCertificate(com.google.protobuf.ByteString value)
      the certificate used by the remote endpoint.
      
      bytes remote_certificate = 4;
      Parameters:
      value - The remoteCertificate to set.
      Returns:
      This builder for chaining.
    • clearRemoteCertificate

      public Security.Tls.Builder clearRemoteCertificate()
      the certificate used by the remote endpoint.
      
      bytes remote_certificate = 4;
      Returns:
      This builder for chaining.