Package io.grpc.channelz.v1
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
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private Object
private int
private com.google.protobuf.ByteString
private com.google.protobuf.ByteString
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
private void
buildPartial0
(Security.Tls result) private void
buildPartialOneofs
(Security.Tls result) clear()
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-Cstatic 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-Ccom.google.protobuf.ByteString
The cipher suite name in the RFC 4346 format: https://tools.ietf.org/html/rfc4346#appendix-Cboolean
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-Cprotected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(Security.Tls other) setLocalCertificate
(com.google.protobuf.ByteString value) the certificate used by this endpoint.setOtherName
(String value) 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.setStandardName
(String value) The cipher suite name in the RFC 4346 format: https://tools.ietf.org/html/rfc4346#appendix-CsetStandardNameBytes
(com.google.protobuf.ByteString value) The cipher suite name in the RFC 4346 format: https://tools.ietf.org/html/rfc4346#appendix-CMethods 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 java.lang.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
-
Field Details
-
cipherSuiteCase_
private int cipherSuiteCase_ -
cipherSuite_
-
bitField0_
private int bitField0_ -
localCertificate_
private com.google.protobuf.ByteString localCertificate_ -
remoteCertificate_
private com.google.protobuf.ByteString remoteCertificate_
-
-
Constructor Details
-
Builder
private Builder() -
Builder
private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<Security.Tls.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<Security.Tls.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<Security.Tls.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
-
buildPartialOneofs
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Security.Tls.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Security.Tls.Builder>
- Throws:
IOException
-
getCipherSuiteCase
- Specified by:
getCipherSuiteCase
in interfaceSecurity.TlsOrBuilder
-
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 interfaceSecurity.TlsOrBuilder
- Returns:
- Whether the standardName field is set.
-
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 interfaceSecurity.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 interfaceSecurity.TlsOrBuilder
- Returns:
- The bytes for standardName.
-
setStandardName
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
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
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 interfaceSecurity.TlsOrBuilder
- Returns:
- Whether the otherName field is set.
-
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 interfaceSecurity.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 interfaceSecurity.TlsOrBuilder
- Returns:
- The bytes for otherName.
-
setOtherName
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
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
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 interfaceSecurity.TlsOrBuilder
- Returns:
- The localCertificate.
-
setLocalCertificate
the certificate used by this endpoint.
bytes local_certificate = 3;
- Parameters:
value
- The localCertificate to set.- Returns:
- This builder for chaining.
-
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 interfaceSecurity.TlsOrBuilder
- Returns:
- The remoteCertificate.
-
setRemoteCertificate
the certificate used by the remote endpoint.
bytes remote_certificate = 4;
- Parameters:
value
- The remoteCertificate to set.- Returns:
- This builder for chaining.
-
clearRemoteCertificate
the certificate used by the remote endpoint.
bytes remote_certificate = 4;
- Returns:
- This builder for chaining.
-