Class FetchCaCertsResponse.CertChain.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FetchCaCertsResponse.CertChain.Builder>
com.google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChain.Builder
- All Implemented Interfaces:
FetchCaCertsResponse.CertChainOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- FetchCaCertsResponse.CertChain
public static final class FetchCaCertsResponse.CertChain.Builder
extends com.google.protobuf.GeneratedMessage.Builder<FetchCaCertsResponse.CertChain.Builder>
implements FetchCaCertsResponse.CertChainOrBuilder
Protobuf type
google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChain-
Method Summary
Modifier and TypeMethodDescriptionaddAllCertificates(Iterable<String> values) The certificates that form the CA chain, from leaf to root order.addCertificates(String value) The certificates that form the CA chain, from leaf to root order.addCertificatesBytes(com.google.protobuf.ByteString value) The certificates that form the CA chain, from leaf to root order.build()clear()The certificates that form the CA chain, from leaf to root order.getCertificates(int index) The certificates that form the CA chain, from leaf to root order.com.google.protobuf.ByteStringgetCertificatesBytes(int index) The certificates that form the CA chain, from leaf to root order.intThe certificates that form the CA chain, from leaf to root order.com.google.protobuf.ProtocolStringListThe certificates that form the CA chain, from leaf to root order.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setCertificates(int index, String value) The certificates that form the CA chain, from leaf to root order.Methods 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 java.lang.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
-
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<FetchCaCertsResponse.CertChain.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<FetchCaCertsResponse.CertChain.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<FetchCaCertsResponse.CertChain.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
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FetchCaCertsResponse.CertChain.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<FetchCaCertsResponse.CertChain.Builder>
-
mergeFrom
public FetchCaCertsResponse.CertChain.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<FetchCaCertsResponse.CertChain.Builder>- Throws:
IOException
-
getCertificatesList
public com.google.protobuf.ProtocolStringList getCertificatesList()The certificates that form the CA chain, from leaf to root order.
repeated string certificates = 1;- Specified by:
getCertificatesListin interfaceFetchCaCertsResponse.CertChainOrBuilder- Returns:
- A list containing the certificates.
-
getCertificatesCount
public int getCertificatesCount()The certificates that form the CA chain, from leaf to root order.
repeated string certificates = 1;- Specified by:
getCertificatesCountin interfaceFetchCaCertsResponse.CertChainOrBuilder- Returns:
- The count of certificates.
-
getCertificates
The certificates that form the CA chain, from leaf to root order.
repeated string certificates = 1;- Specified by:
getCertificatesin interfaceFetchCaCertsResponse.CertChainOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The certificates at the given index.
-
getCertificatesBytes
public com.google.protobuf.ByteString getCertificatesBytes(int index) The certificates that form the CA chain, from leaf to root order.
repeated string certificates = 1;- Specified by:
getCertificatesBytesin interfaceFetchCaCertsResponse.CertChainOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the certificates at the given index.
-
setCertificates
The certificates that form the CA chain, from leaf to root order.
repeated string certificates = 1;- Parameters:
index- The index to set the value at.value- The certificates to set.- Returns:
- This builder for chaining.
-
addCertificates
The certificates that form the CA chain, from leaf to root order.
repeated string certificates = 1;- Parameters:
value- The certificates to add.- Returns:
- This builder for chaining.
-
addAllCertificates
The certificates that form the CA chain, from leaf to root order.
repeated string certificates = 1;- Parameters:
values- The certificates to add.- Returns:
- This builder for chaining.
-
clearCertificates
The certificates that form the CA chain, from leaf to root order.
repeated string certificates = 1;- Returns:
- This builder for chaining.
-
addCertificatesBytes
public FetchCaCertsResponse.CertChain.Builder addCertificatesBytes(com.google.protobuf.ByteString value) The certificates that form the CA chain, from leaf to root order.
repeated string certificates = 1;- Parameters:
value- The bytes of the certificates to add.- Returns:
- This builder for chaining.
-