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 intprivate Objectprivate intprivate com.google.protobuf.ByteStringprivate com.google.protobuf.ByteString -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()private voidbuildPartial0(Security.Tls result) private voidbuildPartialOneofs(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.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.ByteStringthe certificate used by this endpoint.Some other way to describe the cipher suite if the RFC 4346 name is not available.com.google.protobuf.ByteStringSome other way to describe the cipher suite if the RFC 4346 name is not available.com.google.protobuf.ByteStringthe 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.ByteStringThe cipher suite name in the RFC 4346 format: https://tools.ietf.org/html/rfc4346#appendix-CbooleanSome other way to describe the cipher suite if the RFC 4346 name is not available.booleanThe cipher suite name in the RFC 4346 format: https://tools.ietf.org/html/rfc4346#appendix-Cprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Security.Tls.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Security.Tls.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Security.Tls.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
-
buildPartialOneofs
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Security.Tls.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Security.Tls.Builder>- Throws:
IOException
-
getCipherSuiteCase
- Specified by:
getCipherSuiteCasein 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:
hasStandardNamein 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:
getStandardNamein 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:
getStandardNameBytesin 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:
hasOtherNamein 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:
getOtherNamein 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:
getOtherNameBytesin 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:
getLocalCertificatein 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:
getRemoteCertificatein 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.
-