Class ListCertificateAuthoritiesResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListCertificateAuthoritiesResponse.Builder>
com.google.cloud.security.privateca.v1.ListCertificateAuthoritiesResponse.Builder
- All Implemented Interfaces:
ListCertificateAuthoritiesResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListCertificateAuthoritiesResponse
public static final class ListCertificateAuthoritiesResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListCertificateAuthoritiesResponse.Builder>
implements ListCertificateAuthoritiesResponseOrBuilder
Response message for [CertificateAuthorityService.ListCertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificateAuthorities].Protobuf type
google.cloud.security.privateca.v1.ListCertificateAuthoritiesResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllCertificateAuthorities(Iterable<? extends CertificateAuthority> values) The list of [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].addAllUnreachable(Iterable<String> values) A list of locations (e.g.addCertificateAuthorities(int index, CertificateAuthority value) The list of [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].addCertificateAuthorities(int index, CertificateAuthority.Builder builderForValue) The list of [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].The list of [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].addCertificateAuthorities(CertificateAuthority.Builder builderForValue) The list of [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].The list of [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].addCertificateAuthoritiesBuilder(int index) The list of [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].addUnreachable(String value) A list of locations (e.g.addUnreachableBytes(com.google.protobuf.ByteString value) A list of locations (e.g.build()clear()The list of [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].A token to retrieve next page of results.A list of locations (e.g.getCertificateAuthorities(int index) The list of [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].getCertificateAuthoritiesBuilder(int index) The list of [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].The list of [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].intThe list of [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].The list of [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].getCertificateAuthoritiesOrBuilder(int index) The list of [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].List<? extends CertificateAuthorityOrBuilder>The list of [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA token to retrieve next page of results.com.google.protobuf.ByteStringA token to retrieve next page of results.getUnreachable(int index) A list of locations (e.g.com.google.protobuf.ByteStringgetUnreachableBytes(int index) A list of locations (e.g.intA list of locations (e.g.com.google.protobuf.ProtocolStringListA list of locations (e.g.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeCertificateAuthorities(int index) The list of [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].setCertificateAuthorities(int index, CertificateAuthority value) The list of [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].setCertificateAuthorities(int index, CertificateAuthority.Builder builderForValue) The list of [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].setNextPageToken(String value) A token to retrieve next page of results.setNextPageTokenBytes(com.google.protobuf.ByteString value) A token to retrieve next page of results.setUnreachable(int index, String value) A list of locations (e.g.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<ListCertificateAuthoritiesResponse.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<ListCertificateAuthoritiesResponse.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<ListCertificateAuthoritiesResponse.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<ListCertificateAuthoritiesResponse.Builder>
-
mergeFrom
public ListCertificateAuthoritiesResponse.Builder mergeFrom(ListCertificateAuthoritiesResponse other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListCertificateAuthoritiesResponse.Builder>
-
mergeFrom
public ListCertificateAuthoritiesResponse.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<ListCertificateAuthoritiesResponse.Builder>- Throws:
IOException
-
getCertificateAuthoritiesList
The list of [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].
repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1;- Specified by:
getCertificateAuthoritiesListin interfaceListCertificateAuthoritiesResponseOrBuilder
-
getCertificateAuthoritiesCount
public int getCertificateAuthoritiesCount()The list of [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].
repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1;- Specified by:
getCertificateAuthoritiesCountin interfaceListCertificateAuthoritiesResponseOrBuilder
-
getCertificateAuthorities
The list of [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].
repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1;- Specified by:
getCertificateAuthoritiesin interfaceListCertificateAuthoritiesResponseOrBuilder
-
setCertificateAuthorities
public ListCertificateAuthoritiesResponse.Builder setCertificateAuthorities(int index, CertificateAuthority value) The list of [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].
repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1; -
setCertificateAuthorities
public ListCertificateAuthoritiesResponse.Builder setCertificateAuthorities(int index, CertificateAuthority.Builder builderForValue) The list of [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].
repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1; -
addCertificateAuthorities
public ListCertificateAuthoritiesResponse.Builder addCertificateAuthorities(CertificateAuthority value) The list of [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].
repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1; -
addCertificateAuthorities
public ListCertificateAuthoritiesResponse.Builder addCertificateAuthorities(int index, CertificateAuthority value) The list of [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].
repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1; -
addCertificateAuthorities
public ListCertificateAuthoritiesResponse.Builder addCertificateAuthorities(CertificateAuthority.Builder builderForValue) The list of [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].
repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1; -
addCertificateAuthorities
public ListCertificateAuthoritiesResponse.Builder addCertificateAuthorities(int index, CertificateAuthority.Builder builderForValue) The list of [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].
repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1; -
addAllCertificateAuthorities
public ListCertificateAuthoritiesResponse.Builder addAllCertificateAuthorities(Iterable<? extends CertificateAuthority> values) The list of [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].
repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1; -
clearCertificateAuthorities
The list of [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].
repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1; -
removeCertificateAuthorities
The list of [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].
repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1; -
getCertificateAuthoritiesBuilder
The list of [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].
repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1; -
getCertificateAuthoritiesOrBuilder
The list of [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].
repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1;- Specified by:
getCertificateAuthoritiesOrBuilderin interfaceListCertificateAuthoritiesResponseOrBuilder
-
getCertificateAuthoritiesOrBuilderList
The list of [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].
repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1;- Specified by:
getCertificateAuthoritiesOrBuilderListin interfaceListCertificateAuthoritiesResponseOrBuilder
-
addCertificateAuthoritiesBuilder
The list of [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].
repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1; -
addCertificateAuthoritiesBuilder
The list of [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].
repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1; -
getCertificateAuthoritiesBuilderList
The list of [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].
repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1; -
getNextPageToken
A token to retrieve next page of results. Pass this value in [ListCertificateAuthoritiesRequest.page_token][google.cloud.security.privateca.v1.ListCertificateAuthoritiesRequest.page_token] to retrieve the next page of results.
string next_page_token = 2;- Specified by:
getNextPageTokenin interfaceListCertificateAuthoritiesResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()A token to retrieve next page of results. Pass this value in [ListCertificateAuthoritiesRequest.page_token][google.cloud.security.privateca.v1.ListCertificateAuthoritiesRequest.page_token] to retrieve the next page of results.
string next_page_token = 2;- Specified by:
getNextPageTokenBytesin interfaceListCertificateAuthoritiesResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
A token to retrieve next page of results. Pass this value in [ListCertificateAuthoritiesRequest.page_token][google.cloud.security.privateca.v1.ListCertificateAuthoritiesRequest.page_token] to retrieve the next page of results.
string next_page_token = 2;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
A token to retrieve next page of results. Pass this value in [ListCertificateAuthoritiesRequest.page_token][google.cloud.security.privateca.v1.ListCertificateAuthoritiesRequest.page_token] to retrieve the next page of results.
string next_page_token = 2;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public ListCertificateAuthoritiesResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) A token to retrieve next page of results. Pass this value in [ListCertificateAuthoritiesRequest.page_token][google.cloud.security.privateca.v1.ListCertificateAuthoritiesRequest.page_token] to retrieve the next page of results.
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 (e.g. "us-west1") that could not be reached.
repeated string unreachable = 3;- Specified by:
getUnreachableListin interfaceListCertificateAuthoritiesResponseOrBuilder- Returns:
- A list containing the unreachable.
-
getUnreachableCount
public int getUnreachableCount()A list of locations (e.g. "us-west1") that could not be reached.
repeated string unreachable = 3;- Specified by:
getUnreachableCountin interfaceListCertificateAuthoritiesResponseOrBuilder- Returns:
- The count of unreachable.
-
getUnreachable
A list of locations (e.g. "us-west1") that could not be reached.
repeated string unreachable = 3;- Specified by:
getUnreachablein interfaceListCertificateAuthoritiesResponseOrBuilder- 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 (e.g. "us-west1") that could not be reached.
repeated string unreachable = 3;- Specified by:
getUnreachableBytesin interfaceListCertificateAuthoritiesResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the unreachable at the given index.
-
setUnreachable
A list of locations (e.g. "us-west1") 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
A list of locations (e.g. "us-west1") that could not be reached.
repeated string unreachable = 3;- Parameters:
value- The unreachable to add.- Returns:
- This builder for chaining.
-
addAllUnreachable
A list of locations (e.g. "us-west1") that could not be reached.
repeated string unreachable = 3;- Parameters:
values- The unreachable to add.- Returns:
- This builder for chaining.
-
clearUnreachable
A list of locations (e.g. "us-west1") that could not be reached.
repeated string unreachable = 3;- Returns:
- This builder for chaining.
-
addUnreachableBytes
public ListCertificateAuthoritiesResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value) A list of locations (e.g. "us-west1") that could not be reached.
repeated string unreachable = 3;- Parameters:
value- The bytes of the unreachable to add.- Returns:
- This builder for chaining.
-