Class ListContactsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListContactsResponse.Builder>
com.google.cloud.essentialcontacts.v1.ListContactsResponse.Builder
- All Implemented Interfaces:
ListContactsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListContactsResponse
public static final class ListContactsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListContactsResponse.Builder>
implements ListContactsResponseOrBuilder
Response message for the ListContacts method.Protobuf type
google.cloud.essentialcontacts.v1.ListContactsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllContacts(Iterable<? extends Contact> values) The contacts for the specified resource.addContacts(int index, Contact value) The contacts for the specified resource.addContacts(int index, Contact.Builder builderForValue) The contacts for the specified resource.addContacts(Contact value) The contacts for the specified resource.addContacts(Contact.Builder builderForValue) The contacts for the specified resource.The contacts for the specified resource.addContactsBuilder(int index) The contacts for the specified resource.build()clear()The contacts for the specified resource.If there are more results than those appearing in this response, then `next_page_token` is included.getContacts(int index) The contacts for the specified resource.getContactsBuilder(int index) The contacts for the specified resource.The contacts for the specified resource.intThe contacts for the specified resource.The contacts for the specified resource.getContactsOrBuilder(int index) The contacts for the specified resource.List<? extends ContactOrBuilder>The contacts for the specified resource.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorIf there are more results than those appearing in this response, then `next_page_token` is included.com.google.protobuf.ByteStringIf there are more results than those appearing in this response, then `next_page_token` is included.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ListContactsResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeContacts(int index) The contacts for the specified resource.setContacts(int index, Contact value) The contacts for the specified resource.setContacts(int index, Contact.Builder builderForValue) The contacts for the specified resource.setNextPageToken(String value) If there are more results than those appearing in this response, then `next_page_token` is included.setNextPageTokenBytes(com.google.protobuf.ByteString value) If there are more results than those appearing in this response, then `next_page_token` is included.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<ListContactsResponse.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<ListContactsResponse.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<ListContactsResponse.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<ListContactsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListContactsResponse.Builder>
-
mergeFrom
public ListContactsResponse.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<ListContactsResponse.Builder>- Throws:
IOException
-
getContactsList
The contacts for the specified resource.
repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;- Specified by:
getContactsListin interfaceListContactsResponseOrBuilder
-
getContactsCount
public int getContactsCount()The contacts for the specified resource.
repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;- Specified by:
getContactsCountin interfaceListContactsResponseOrBuilder
-
getContacts
The contacts for the specified resource.
repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;- Specified by:
getContactsin interfaceListContactsResponseOrBuilder
-
setContacts
The contacts for the specified resource.
repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1; -
setContacts
The contacts for the specified resource.
repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1; -
addContacts
The contacts for the specified resource.
repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1; -
addContacts
The contacts for the specified resource.
repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1; -
addContacts
The contacts for the specified resource.
repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1; -
addContacts
The contacts for the specified resource.
repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1; -
addAllContacts
The contacts for the specified resource.
repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1; -
clearContacts
The contacts for the specified resource.
repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1; -
removeContacts
The contacts for the specified resource.
repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1; -
getContactsBuilder
The contacts for the specified resource.
repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1; -
getContactsOrBuilder
The contacts for the specified resource.
repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;- Specified by:
getContactsOrBuilderin interfaceListContactsResponseOrBuilder
-
getContactsOrBuilderList
The contacts for the specified resource.
repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;- Specified by:
getContactsOrBuilderListin interfaceListContactsResponseOrBuilder
-
addContactsBuilder
The contacts for the specified resource.
repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1; -
addContactsBuilder
The contacts for the specified resource.
repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1; -
getContactsBuilderList
The contacts for the specified resource.
repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1; -
getNextPageToken
If there are 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` and the rest of the parameters the same as the original request.
string next_page_token = 2;- Specified by:
getNextPageTokenin interfaceListContactsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()If there are 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` and the rest of the parameters the same as the original request.
string next_page_token = 2;- Specified by:
getNextPageTokenBytesin interfaceListContactsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
If there are 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` and the rest of the parameters the same as the original request.
string next_page_token = 2;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
If there are 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` and the rest of the parameters the same as the original request.
string next_page_token = 2;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
If there are 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` and the rest of the parameters the same as the original request.
string next_page_token = 2;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-