Class Security.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, SecurityOrBuilder, java.lang.Cloneable
    Enclosing class:
    Security

    public static final class Security.Builder
    extends com.google.protobuf.GeneratedMessage.Builder<Security.Builder>
    implements SecurityOrBuilder
     Security represents details about how secure the socket is.
     
    Protobuf type grpc.channelz.v1.Security
    • Constructor Detail

      • Builder

        private Builder()
      • Builder

        private Builder​(com.google.protobuf.AbstractMessage.BuilderParent parent)
    • Method Detail

      • 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.Builder>
      • clear

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

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

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

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

        private void buildPartial0​(Security result)
      • buildPartialOneofs

        private void buildPartialOneofs​(Security result)
      • mergeFrom

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

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

        public Security.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                   throws java.io.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.Builder>
        Throws:
        java.io.IOException
      • hasTls

        public boolean hasTls()
        .grpc.channelz.v1.Security.Tls tls = 1;
        Specified by:
        hasTls in interface SecurityOrBuilder
        Returns:
        Whether the tls field is set.
      • clearTls

        public Security.Builder clearTls()
        .grpc.channelz.v1.Security.Tls tls = 1;
      • getTlsBuilder

        public Security.Tls.Builder getTlsBuilder()
        .grpc.channelz.v1.Security.Tls tls = 1;
      • hasOther

        public boolean hasOther()
        .grpc.channelz.v1.Security.OtherSecurity other = 2;
        Specified by:
        hasOther in interface SecurityOrBuilder
        Returns:
        Whether the other field is set.
      • clearOther

        public Security.Builder clearOther()
        .grpc.channelz.v1.Security.OtherSecurity other = 2;