Class ListCertificatesResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListCertificatesResponse.Builder>
-
- com.google.cloud.certificatemanager.v1.ListCertificatesResponse.Builder
-
- All Implemented Interfaces:
ListCertificatesResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListCertificatesResponse
public static final class ListCertificatesResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListCertificatesResponse.Builder> implements ListCertificatesResponseOrBuilder
Response for the `ListCertificates` method.
Protobuf typegoogle.cloud.certificatemanager.v1.ListCertificatesResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListCertificatesResponse.BuilderaddAllCertificates(Iterable<? extends Certificate> values)A list of certificates for the parent resource.ListCertificatesResponse.BuilderaddAllUnreachable(Iterable<String> values)A list of locations that could not be reached.ListCertificatesResponse.BuilderaddCertificates(int index, Certificate value)A list of certificates for the parent resource.ListCertificatesResponse.BuilderaddCertificates(int index, Certificate.Builder builderForValue)A list of certificates for the parent resource.ListCertificatesResponse.BuilderaddCertificates(Certificate value)A list of certificates for the parent resource.ListCertificatesResponse.BuilderaddCertificates(Certificate.Builder builderForValue)A list of certificates for the parent resource.Certificate.BuilderaddCertificatesBuilder()A list of certificates for the parent resource.Certificate.BuilderaddCertificatesBuilder(int index)A list of certificates for the parent resource.ListCertificatesResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListCertificatesResponse.BuilderaddUnreachable(String value)A list of locations that could not be reached.ListCertificatesResponse.BuilderaddUnreachableBytes(com.google.protobuf.ByteString value)A list of locations that could not be reached.ListCertificatesResponsebuild()ListCertificatesResponsebuildPartial()ListCertificatesResponse.Builderclear()ListCertificatesResponse.BuilderclearCertificates()A list of certificates for the parent resource.ListCertificatesResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ListCertificatesResponse.BuilderclearNextPageToken()If there might be more results than those appearing in this response, then `next_page_token` is included.ListCertificatesResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ListCertificatesResponse.BuilderclearUnreachable()A list of locations that could not be reached.ListCertificatesResponse.Builderclone()CertificategetCertificates(int index)A list of certificates for the parent resource.Certificate.BuildergetCertificatesBuilder(int index)A list of certificates for the parent resource.List<Certificate.Builder>getCertificatesBuilderList()A list of certificates for the parent resource.intgetCertificatesCount()A list of certificates for the parent resource.List<Certificate>getCertificatesList()A list of certificates for the parent resource.CertificateOrBuildergetCertificatesOrBuilder(int index)A list of certificates for the parent resource.List<? extends CertificateOrBuilder>getCertificatesOrBuilderList()A list of certificates for the parent resource.ListCertificatesResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetNextPageToken()If there might be more results than those appearing in this response, then `next_page_token` is included.com.google.protobuf.ByteStringgetNextPageTokenBytes()If there might be more results than those appearing in this response, then `next_page_token` is included.StringgetUnreachable(int index)A list of locations that could not be reached.com.google.protobuf.ByteStringgetUnreachableBytes(int index)A list of locations that could not be reached.intgetUnreachableCount()A list of locations that could not be reached.com.google.protobuf.ProtocolStringListgetUnreachableList()A list of locations that could not be reached.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ListCertificatesResponse.BuildermergeFrom(ListCertificatesResponse other)ListCertificatesResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ListCertificatesResponse.BuildermergeFrom(com.google.protobuf.Message other)ListCertificatesResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ListCertificatesResponse.BuilderremoveCertificates(int index)A list of certificates for the parent resource.ListCertificatesResponse.BuildersetCertificates(int index, Certificate value)A list of certificates for the parent resource.ListCertificatesResponse.BuildersetCertificates(int index, Certificate.Builder builderForValue)A list of certificates for the parent resource.ListCertificatesResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListCertificatesResponse.BuildersetNextPageToken(String value)If there might be more results than those appearing in this response, then `next_page_token` is included.ListCertificatesResponse.BuildersetNextPageTokenBytes(com.google.protobuf.ByteString value)If there might be more results than those appearing in this response, then `next_page_token` is included.ListCertificatesResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ListCertificatesResponse.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ListCertificatesResponse.BuildersetUnreachable(int index, String value)A list of locations that could not be reached.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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<ListCertificatesResponse.Builder>
-
clear
public ListCertificatesResponse.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<ListCertificatesResponse.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<ListCertificatesResponse.Builder>
-
getDefaultInstanceForType
public ListCertificatesResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListCertificatesResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListCertificatesResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListCertificatesResponse.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<ListCertificatesResponse.Builder>
-
setField
public ListCertificatesResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListCertificatesResponse.Builder>
-
clearField
public ListCertificatesResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListCertificatesResponse.Builder>
-
clearOneof
public ListCertificatesResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ListCertificatesResponse.Builder>
-
setRepeatedField
public ListCertificatesResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListCertificatesResponse.Builder>
-
addRepeatedField
public ListCertificatesResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListCertificatesResponse.Builder>
-
mergeFrom
public ListCertificatesResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListCertificatesResponse.Builder>
-
mergeFrom
public ListCertificatesResponse.Builder mergeFrom(ListCertificatesResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ListCertificatesResponse.Builder>
-
mergeFrom
public ListCertificatesResponse.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<ListCertificatesResponse.Builder>- Throws:
IOException
-
getCertificatesList
public List<Certificate> getCertificatesList()
A list of certificates for the parent resource.
repeated .google.cloud.certificatemanager.v1.Certificate certificates = 1;- Specified by:
getCertificatesListin interfaceListCertificatesResponseOrBuilder
-
getCertificatesCount
public int getCertificatesCount()
A list of certificates for the parent resource.
repeated .google.cloud.certificatemanager.v1.Certificate certificates = 1;- Specified by:
getCertificatesCountin interfaceListCertificatesResponseOrBuilder
-
getCertificates
public Certificate getCertificates(int index)
A list of certificates for the parent resource.
repeated .google.cloud.certificatemanager.v1.Certificate certificates = 1;- Specified by:
getCertificatesin interfaceListCertificatesResponseOrBuilder
-
setCertificates
public ListCertificatesResponse.Builder setCertificates(int index, Certificate value)
A list of certificates for the parent resource.
repeated .google.cloud.certificatemanager.v1.Certificate certificates = 1;
-
setCertificates
public ListCertificatesResponse.Builder setCertificates(int index, Certificate.Builder builderForValue)
A list of certificates for the parent resource.
repeated .google.cloud.certificatemanager.v1.Certificate certificates = 1;
-
addCertificates
public ListCertificatesResponse.Builder addCertificates(Certificate value)
A list of certificates for the parent resource.
repeated .google.cloud.certificatemanager.v1.Certificate certificates = 1;
-
addCertificates
public ListCertificatesResponse.Builder addCertificates(int index, Certificate value)
A list of certificates for the parent resource.
repeated .google.cloud.certificatemanager.v1.Certificate certificates = 1;
-
addCertificates
public ListCertificatesResponse.Builder addCertificates(Certificate.Builder builderForValue)
A list of certificates for the parent resource.
repeated .google.cloud.certificatemanager.v1.Certificate certificates = 1;
-
addCertificates
public ListCertificatesResponse.Builder addCertificates(int index, Certificate.Builder builderForValue)
A list of certificates for the parent resource.
repeated .google.cloud.certificatemanager.v1.Certificate certificates = 1;
-
addAllCertificates
public ListCertificatesResponse.Builder addAllCertificates(Iterable<? extends Certificate> values)
A list of certificates for the parent resource.
repeated .google.cloud.certificatemanager.v1.Certificate certificates = 1;
-
clearCertificates
public ListCertificatesResponse.Builder clearCertificates()
A list of certificates for the parent resource.
repeated .google.cloud.certificatemanager.v1.Certificate certificates = 1;
-
removeCertificates
public ListCertificatesResponse.Builder removeCertificates(int index)
A list of certificates for the parent resource.
repeated .google.cloud.certificatemanager.v1.Certificate certificates = 1;
-
getCertificatesBuilder
public Certificate.Builder getCertificatesBuilder(int index)
A list of certificates for the parent resource.
repeated .google.cloud.certificatemanager.v1.Certificate certificates = 1;
-
getCertificatesOrBuilder
public CertificateOrBuilder getCertificatesOrBuilder(int index)
A list of certificates for the parent resource.
repeated .google.cloud.certificatemanager.v1.Certificate certificates = 1;- Specified by:
getCertificatesOrBuilderin interfaceListCertificatesResponseOrBuilder
-
getCertificatesOrBuilderList
public List<? extends CertificateOrBuilder> getCertificatesOrBuilderList()
A list of certificates for the parent resource.
repeated .google.cloud.certificatemanager.v1.Certificate certificates = 1;- Specified by:
getCertificatesOrBuilderListin interfaceListCertificatesResponseOrBuilder
-
addCertificatesBuilder
public Certificate.Builder addCertificatesBuilder()
A list of certificates for the parent resource.
repeated .google.cloud.certificatemanager.v1.Certificate certificates = 1;
-
addCertificatesBuilder
public Certificate.Builder addCertificatesBuilder(int index)
A list of certificates for the parent resource.
repeated .google.cloud.certificatemanager.v1.Certificate certificates = 1;
-
getCertificatesBuilderList
public List<Certificate.Builder> getCertificatesBuilderList()
A list of certificates for the parent resource.
repeated .google.cloud.certificatemanager.v1.Certificate certificates = 1;
-
getNextPageToken
public String getNextPageToken()
If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
string next_page_token = 2;- Specified by:
getNextPageTokenin interfaceListCertificatesResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()
If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
string next_page_token = 2;- Specified by:
getNextPageTokenBytesin interfaceListCertificatesResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
public ListCertificatesResponse.Builder setNextPageToken(String value)
If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
string next_page_token = 2;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
public ListCertificatesResponse.Builder clearNextPageToken()
If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
string next_page_token = 2;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public ListCertificatesResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
string next_page_token = 2;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
getUnreachableList
public com.google.protobuf.ProtocolStringList getUnreachableList()
A list of locations that could not be reached.
repeated string unreachable = 3;- Specified by:
getUnreachableListin interfaceListCertificatesResponseOrBuilder- Returns:
- A list containing the unreachable.
-
getUnreachableCount
public int getUnreachableCount()
A list of locations that could not be reached.
repeated string unreachable = 3;- Specified by:
getUnreachableCountin interfaceListCertificatesResponseOrBuilder- Returns:
- The count of unreachable.
-
getUnreachable
public String getUnreachable(int index)
A list of locations that could not be reached.
repeated string unreachable = 3;- Specified by:
getUnreachablein interfaceListCertificatesResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The unreachable at the given index.
-
getUnreachableBytes
public com.google.protobuf.ByteString getUnreachableBytes(int index)
A list of locations that could not be reached.
repeated string unreachable = 3;- Specified by:
getUnreachableBytesin interfaceListCertificatesResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the unreachable at the given index.
-
setUnreachable
public ListCertificatesResponse.Builder setUnreachable(int index, String value)
A list of locations that could not be reached.
repeated string unreachable = 3;- Parameters:
index- The index to set the value at.value- The unreachable to set.- Returns:
- This builder for chaining.
-
addUnreachable
public ListCertificatesResponse.Builder addUnreachable(String value)
A list of locations that could not be reached.
repeated string unreachable = 3;- Parameters:
value- The unreachable to add.- Returns:
- This builder for chaining.
-
addAllUnreachable
public ListCertificatesResponse.Builder addAllUnreachable(Iterable<String> values)
A list of locations that could not be reached.
repeated string unreachable = 3;- Parameters:
values- The unreachable to add.- Returns:
- This builder for chaining.
-
clearUnreachable
public ListCertificatesResponse.Builder clearUnreachable()
A list of locations that could not be reached.
repeated string unreachable = 3;- Returns:
- This builder for chaining.
-
addUnreachableBytes
public ListCertificatesResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
A list of locations that could not be reached.
repeated string unreachable = 3;- Parameters:
value- The bytes of the unreachable to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListCertificatesResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListCertificatesResponse.Builder>
-
mergeUnknownFields
public final ListCertificatesResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListCertificatesResponse.Builder>
-
-