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.Builder
addAllCertificates(Iterable<? extends Certificate> values)
A list of certificates for the parent resource.ListCertificatesResponse.Builder
addAllUnreachable(Iterable<String> values)
A list of locations that could not be reached.ListCertificatesResponse.Builder
addCertificates(int index, Certificate value)
A list of certificates for the parent resource.ListCertificatesResponse.Builder
addCertificates(int index, Certificate.Builder builderForValue)
A list of certificates for the parent resource.ListCertificatesResponse.Builder
addCertificates(Certificate value)
A list of certificates for the parent resource.ListCertificatesResponse.Builder
addCertificates(Certificate.Builder builderForValue)
A list of certificates for the parent resource.Certificate.Builder
addCertificatesBuilder()
A list of certificates for the parent resource.Certificate.Builder
addCertificatesBuilder(int index)
A list of certificates for the parent resource.ListCertificatesResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListCertificatesResponse.Builder
addUnreachable(String value)
A list of locations that could not be reached.ListCertificatesResponse.Builder
addUnreachableBytes(com.google.protobuf.ByteString value)
A list of locations that could not be reached.ListCertificatesResponse
build()
ListCertificatesResponse
buildPartial()
ListCertificatesResponse.Builder
clear()
ListCertificatesResponse.Builder
clearCertificates()
A list of certificates for the parent resource.ListCertificatesResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ListCertificatesResponse.Builder
clearNextPageToken()
If there might be more results than those appearing in this response, then `next_page_token` is included.ListCertificatesResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ListCertificatesResponse.Builder
clearUnreachable()
A list of locations that could not be reached.ListCertificatesResponse.Builder
clone()
Certificate
getCertificates(int index)
A list of certificates for the parent resource.Certificate.Builder
getCertificatesBuilder(int index)
A list of certificates for the parent resource.List<Certificate.Builder>
getCertificatesBuilderList()
A list of certificates for the parent resource.int
getCertificatesCount()
A list of certificates for the parent resource.List<Certificate>
getCertificatesList()
A list of certificates for the parent resource.CertificateOrBuilder
getCertificatesOrBuilder(int index)
A list of certificates for the parent resource.List<? extends CertificateOrBuilder>
getCertificatesOrBuilderList()
A list of certificates for the parent resource.ListCertificatesResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getNextPageToken()
If there might be more results than those appearing in this response, then `next_page_token` is included.com.google.protobuf.ByteString
getNextPageTokenBytes()
If there might be more results than those appearing in this response, then `next_page_token` is included.String
getUnreachable(int index)
A list of locations that could not be reached.com.google.protobuf.ByteString
getUnreachableBytes(int index)
A list of locations that could not be reached.int
getUnreachableCount()
A list of locations that could not be reached.com.google.protobuf.ProtocolStringList
getUnreachableList()
A list of locations that could not be reached.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ListCertificatesResponse.Builder
mergeFrom(ListCertificatesResponse other)
ListCertificatesResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ListCertificatesResponse.Builder
mergeFrom(com.google.protobuf.Message other)
ListCertificatesResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListCertificatesResponse.Builder
removeCertificates(int index)
A list of certificates for the parent resource.ListCertificatesResponse.Builder
setCertificates(int index, Certificate value)
A list of certificates for the parent resource.ListCertificatesResponse.Builder
setCertificates(int index, Certificate.Builder builderForValue)
A list of certificates for the parent resource.ListCertificatesResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListCertificatesResponse.Builder
setNextPageToken(String value)
If there might be more results than those appearing in this response, then `next_page_token` is included.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.ListCertificatesResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ListCertificatesResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListCertificatesResponse.Builder
setUnreachable(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListCertificatesResponse.Builder>
-
clear
public ListCertificatesResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListCertificatesResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListCertificatesResponse.Builder>
-
getDefaultInstanceForType
public ListCertificatesResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListCertificatesResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListCertificatesResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListCertificatesResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListCertificatesResponse.Builder>
-
setField
public ListCertificatesResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListCertificatesResponse.Builder>
-
clearField
public ListCertificatesResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListCertificatesResponse.Builder>
-
clearOneof
public ListCertificatesResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListCertificatesResponse.Builder>
-
setRepeatedField
public ListCertificatesResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListCertificatesResponse.Builder>
-
addRepeatedField
public ListCertificatesResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListCertificatesResponse.Builder>
-
mergeFrom
public ListCertificatesResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListCertificatesResponse.Builder>
-
mergeFrom
public ListCertificatesResponse.Builder mergeFrom(ListCertificatesResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getCertificatesList
in interfaceListCertificatesResponseOrBuilder
-
getCertificatesCount
public int getCertificatesCount()
A list of certificates for the parent resource.
repeated .google.cloud.certificatemanager.v1.Certificate certificates = 1;
- Specified by:
getCertificatesCount
in 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:
getCertificates
in 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:
getCertificatesOrBuilder
in 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:
getCertificatesOrBuilderList
in 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:
getNextPageToken
in 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:
getNextPageTokenBytes
in 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:
getUnreachableList
in 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:
getUnreachableCount
in 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:
getUnreachable
in 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:
getUnreachableBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListCertificatesResponse.Builder>
-
mergeUnknownFields
public final ListCertificatesResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListCertificatesResponse.Builder>
-
-