Package io.grpc.channelz.v1
Class Security.Tls.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.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,java.lang.Cloneable
- Enclosing class:
- Security.Tls
public static final class Security.Tls.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Security.Tls.Builder> implements Security.TlsOrBuilder
Protobuf typegrpc.channelz.v1.Security.Tls
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Security.Tls.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Security.Tlsbuild()Security.TlsbuildPartial()Security.Tls.Builderclear()Security.Tls.BuilderclearCipherSuite()Security.Tls.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Security.Tls.BuilderclearLocalCertificate()the certificate used by this endpoint.Security.Tls.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Security.Tls.BuilderclearOtherName()Some other way to describe the cipher suite if the RFC 4346 name is not available.Security.Tls.BuilderclearRemoteCertificate()the certificate used by the remote endpoint.Security.Tls.BuilderclearStandardName()The cipher suite name in the RFC 4346 format: https://tools.ietf.org/html/rfc4346#appendix-CSecurity.Tls.Builderclone()Security.Tls.CipherSuiteCasegetCipherSuiteCase()Security.TlsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.ByteStringgetLocalCertificate()the certificate used by this endpoint.java.lang.StringgetOtherName()Some other way to describe the cipher suite if the RFC 4346 name is not available.com.google.protobuf.ByteStringgetOtherNameBytes()Some other way to describe the cipher suite if the RFC 4346 name is not available.com.google.protobuf.ByteStringgetRemoteCertificate()the certificate used by the remote endpoint.java.lang.StringgetStandardName()The cipher suite name in the RFC 4346 format: https://tools.ietf.org/html/rfc4346#appendix-Ccom.google.protobuf.ByteStringgetStandardNameBytes()The cipher suite name in the RFC 4346 format: https://tools.ietf.org/html/rfc4346#appendix-CbooleanhasOtherName()Some other way to describe the cipher suite if the RFC 4346 name is not available.booleanhasStandardName()The cipher suite name in the RFC 4346 format: https://tools.ietf.org/html/rfc4346#appendix-Cprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Security.Tls.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Security.Tls.BuildermergeFrom(com.google.protobuf.Message other)Security.Tls.BuildermergeFrom(Security.Tls other)Security.Tls.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Security.Tls.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Security.Tls.BuildersetLocalCertificate(com.google.protobuf.ByteString value)the certificate used by this endpoint.Security.Tls.BuildersetOtherName(java.lang.String value)Some other way to describe the cipher suite if the RFC 4346 name is not available.Security.Tls.BuildersetOtherNameBytes(com.google.protobuf.ByteString value)Some other way to describe the cipher suite if the RFC 4346 name is not available.Security.Tls.BuildersetRemoteCertificate(com.google.protobuf.ByteString value)the certificate used by the remote endpoint.Security.Tls.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)Security.Tls.BuildersetStandardName(java.lang.String value)The cipher suite name in the RFC 4346 format: https://tools.ietf.org/html/rfc4346#appendix-CSecurity.Tls.BuildersetStandardNameBytes(com.google.protobuf.ByteString value)The cipher suite name in the RFC 4346 format: https://tools.ietf.org/html/rfc4346#appendix-CSecurity.Tls.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Security.Tls.Builder>
-
clear
public 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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<Security.Tls.Builder>
-
getDefaultInstanceForType
public Security.Tls getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Security.Tls build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Security.Tls buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Security.Tls.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Security.Tls.Builder>
-
setField
public Security.Tls.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Security.Tls.Builder>
-
clearField
public Security.Tls.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Security.Tls.Builder>
-
clearOneof
public Security.Tls.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Security.Tls.Builder>
-
setRepeatedField
public Security.Tls.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Security.Tls.Builder>
-
addRepeatedField
public Security.Tls.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Security.Tls.Builder>
-
mergeFrom
public Security.Tls.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Security.Tls.Builder>
-
mergeFrom
public Security.Tls.Builder mergeFrom(Security.Tls other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Security.Tls.Builder>
-
mergeFrom
public Security.Tls.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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:
java.io.IOException
-
getCipherSuiteCase
public Security.Tls.CipherSuiteCase getCipherSuiteCase()
- Specified by:
getCipherSuiteCasein interfaceSecurity.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:
hasStandardNamein interfaceSecurity.TlsOrBuilder- Returns:
- Whether the standardName field is set.
-
getStandardName
public java.lang.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:
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
public Security.Tls.Builder setStandardName(java.lang.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:
hasOtherNamein interfaceSecurity.TlsOrBuilder- Returns:
- Whether the otherName field is set.
-
getOtherName
public java.lang.String 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
public Security.Tls.Builder setOtherName(java.lang.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:
getLocalCertificatein interfaceSecurity.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:
getRemoteCertificatein interfaceSecurity.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.
-
setUnknownFields
public final Security.Tls.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Security.Tls.Builder>
-
mergeUnknownFields
public final Security.Tls.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Security.Tls.Builder>
-
-