Class ComputeContactsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ComputeContactsResponse.Builder>
com.google.cloud.essentialcontacts.v1.ComputeContactsResponse.Builder
- All Implemented Interfaces:
ComputeContactsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ComputeContactsResponse
public static final class ComputeContactsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ComputeContactsResponse.Builder>
implements ComputeContactsResponseOrBuilder
Response message for the ComputeContacts method.Protobuf type
google.cloud.essentialcontacts.v1.ComputeContactsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllContacts(Iterable<? extends Contact> values) All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.addContacts(int index, Contact value) All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.addContacts(int index, Contact.Builder builderForValue) All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.addContacts(Contact value) All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.addContacts(Contact.Builder builderForValue) All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.addContactsBuilder(int index) All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.build()clear()All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.If there are more results than those appearing in this response, then `next_page_token` is included.getContacts(int index) All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.getContactsBuilder(int index) All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.intAll contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.getContactsOrBuilder(int index) All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.List<? extends ContactOrBuilder>All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.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(ComputeContactsResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeContacts(int index) All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.setContacts(int index, Contact value) All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.setContacts(int index, Contact.Builder builderForValue) All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.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<ComputeContactsResponse.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<ComputeContactsResponse.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<ComputeContactsResponse.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<ComputeContactsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ComputeContactsResponse.Builder>
-
mergeFrom
public ComputeContactsResponse.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<ComputeContactsResponse.Builder>- Throws:
IOException
-
getContactsList
All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.
repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;- Specified by:
getContactsListin interfaceComputeContactsResponseOrBuilder
-
getContactsCount
public int getContactsCount()All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.
repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;- Specified by:
getContactsCountin interfaceComputeContactsResponseOrBuilder
-
getContacts
All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.
repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;- Specified by:
getContactsin interfaceComputeContactsResponseOrBuilder
-
setContacts
All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.
repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1; -
setContacts
All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.
repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1; -
addContacts
All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.
repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1; -
addContacts
All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.
repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1; -
addContacts
All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.
repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1; -
addContacts
All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.
repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1; -
addAllContacts
All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.
repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1; -
clearContacts
All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.
repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1; -
removeContacts
All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.
repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1; -
getContactsBuilder
All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.
repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1; -
getContactsOrBuilder
All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.
repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;- Specified by:
getContactsOrBuilderin interfaceComputeContactsResponseOrBuilder
-
getContactsOrBuilderList
All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.
repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;- Specified by:
getContactsOrBuilderListin interfaceComputeContactsResponseOrBuilder
-
addContactsBuilder
All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.
repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1; -
addContactsBuilder
All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.
repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1; -
getContactsBuilderList
All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.
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 interfaceComputeContactsResponseOrBuilder- 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 interfaceComputeContactsResponseOrBuilder- 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.
-