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:
Message.Builder,MessageLite.Builder,MessageLiteOrBuilder,MessageOrBuilder,Security.TlsOrBuilder,Cloneable
- Enclosing class:
- Security.Tls
public static final class Security.Tls.Builder extends 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(Descriptors.FieldDescriptor field, Object value)Security.Tlsbuild()Security.TlsbuildPartial()Security.Tls.Builderclear()Security.Tls.BuilderclearCipherSuite()Security.Tls.BuilderclearField(Descriptors.FieldDescriptor field)Security.Tls.BuilderclearLocalCertificate()the certificate used by this endpoint.Security.Tls.BuilderclearOneof(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 Descriptors.DescriptorgetDescriptor()Descriptors.DescriptorgetDescriptorForType()ByteStringgetLocalCertificate()the certificate used by this endpoint.StringgetOtherName()Some other way to describe the cipher suite if the RFC 4346 name is not available.ByteStringgetOtherNameBytes()Some other way to describe the cipher suite if the RFC 4346 name is not available.ByteStringgetRemoteCertificate()the certificate used by the remote endpoint.StringgetStandardName()The cipher suite name in the RFC 4346 format: https://tools.ietf.org/html/rfc4346#appendix-CByteStringgetStandardNameBytes()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 GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Security.Tls.BuildermergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)Security.Tls.BuildermergeFrom(Message other)Security.Tls.BuildermergeFrom(Security.Tls other)Security.Tls.BuildermergeUnknownFields(UnknownFieldSet unknownFields)Security.Tls.BuildersetField(Descriptors.FieldDescriptor field, Object value)Security.Tls.BuildersetLocalCertificate(ByteString value)the certificate used by this endpoint.Security.Tls.BuildersetOtherName(String value)Some other way to describe the cipher suite if the RFC 4346 name is not available.Security.Tls.BuildersetOtherNameBytes(ByteString value)Some other way to describe the cipher suite if the RFC 4346 name is not available.Security.Tls.BuildersetRemoteCertificate(ByteString value)the certificate used by the remote endpoint.Security.Tls.BuildersetRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)Security.Tls.BuildersetStandardName(String value)The cipher suite name in the RFC 4346 format: https://tools.ietf.org/html/rfc4346#appendix-CSecurity.Tls.BuildersetStandardNameBytes(ByteString value)The cipher suite name in the RFC 4346 format: https://tools.ietf.org/html/rfc4346#appendix-CSecurity.Tls.BuildersetUnknownFields(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
-
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 Detail
-
getDescriptor
public static final Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3.Builder<Security.Tls.Builder>
-
clear
public Security.Tls.Builder clear()
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<Security.Tls.Builder>
-
getDescriptorForType
public Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<Security.Tls.Builder>
-
getDefaultInstanceForType
public Security.Tls getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
public Security.Tls build()
- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
public Security.Tls buildPartial()
- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
clone
public Security.Tls.Builder clone()
- Specified by:
clonein interfaceMessage.Builder- Specified by:
clonein interfaceMessageLite.Builder- Overrides:
clonein classGeneratedMessageV3.Builder<Security.Tls.Builder>
-
setField
public Security.Tls.Builder setField(Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfaceMessage.Builder- Overrides:
setFieldin classGeneratedMessageV3.Builder<Security.Tls.Builder>
-
clearField
public Security.Tls.Builder clearField(Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<Security.Tls.Builder>
-
clearOneof
public Security.Tls.Builder clearOneof(Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfaceMessage.Builder- Overrides:
clearOneofin classGeneratedMessageV3.Builder<Security.Tls.Builder>
-
setRepeatedField
public Security.Tls.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfaceMessage.Builder- Overrides:
setRepeatedFieldin classGeneratedMessageV3.Builder<Security.Tls.Builder>
-
addRepeatedField
public Security.Tls.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfaceMessage.Builder- Overrides:
addRepeatedFieldin classGeneratedMessageV3.Builder<Security.Tls.Builder>
-
mergeFrom
public Security.Tls.Builder mergeFrom(Message other)
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<Security.Tls.Builder>
-
mergeFrom
public Security.Tls.Builder mergeFrom(Security.Tls other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.Builder<Security.Tls.Builder>
-
mergeFrom
public Security.Tls.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<Security.Tls.Builder>- Throws:
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 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 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(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(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 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 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(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(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 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(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 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(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(UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<Security.Tls.Builder>
-
mergeUnknownFields
public final Security.Tls.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<Security.Tls.Builder>
-
-