Class ComputeContactsResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<ComputeContactsResponse.Builder> implements ComputeContactsResponseOrBuilder
Response message for the ComputeContacts method.
Protobuf typegoogle.cloud.essentialcontacts.v1.ComputeContactsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeContactsResponse.Builder
addAllContacts(Iterable<? extends Contact> values)
All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.ComputeContactsResponse.Builder
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.ComputeContactsResponse.Builder
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.ComputeContactsResponse.Builder
addContacts(Contact value)
All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.ComputeContactsResponse.Builder
addContacts(Contact.Builder builderForValue)
All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.Contact.Builder
addContactsBuilder()
All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.Contact.Builder
addContactsBuilder(int index)
All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.ComputeContactsResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ComputeContactsResponse
build()
ComputeContactsResponse
buildPartial()
ComputeContactsResponse.Builder
clear()
ComputeContactsResponse.Builder
clearContacts()
All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.ComputeContactsResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ComputeContactsResponse.Builder
clearNextPageToken()
If there are more results than those appearing in this response, then `next_page_token` is included.ComputeContactsResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ComputeContactsResponse.Builder
clone()
Contact
getContacts(int index)
All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.Contact.Builder
getContactsBuilder(int index)
All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.List<Contact.Builder>
getContactsBuilderList()
All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.int
getContactsCount()
All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.List<Contact>
getContactsList()
All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.ContactOrBuilder
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>
getContactsOrBuilderList()
All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.ComputeContactsResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getNextPageToken()
If there are more results than those appearing in this response, then `next_page_token` is included.com.google.protobuf.ByteString
getNextPageTokenBytes()
If there are more results than those appearing in this response, then `next_page_token` is included.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ComputeContactsResponse.Builder
mergeFrom(ComputeContactsResponse other)
ComputeContactsResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ComputeContactsResponse.Builder
mergeFrom(com.google.protobuf.Message other)
ComputeContactsResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ComputeContactsResponse.Builder
removeContacts(int index)
All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.ComputeContactsResponse.Builder
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.ComputeContactsResponse.Builder
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.ComputeContactsResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ComputeContactsResponse.Builder
setNextPageToken(String value)
If there are more results than those appearing in this response, then `next_page_token` is included.ComputeContactsResponse.Builder
setNextPageTokenBytes(com.google.protobuf.ByteString value)
If there are more results than those appearing in this response, then `next_page_token` is included.ComputeContactsResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ComputeContactsResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
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<ComputeContactsResponse.Builder>
-
clear
public ComputeContactsResponse.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<ComputeContactsResponse.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<ComputeContactsResponse.Builder>
-
getDefaultInstanceForType
public ComputeContactsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ComputeContactsResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ComputeContactsResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ComputeContactsResponse.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<ComputeContactsResponse.Builder>
-
setField
public ComputeContactsResponse.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<ComputeContactsResponse.Builder>
-
clearField
public ComputeContactsResponse.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<ComputeContactsResponse.Builder>
-
clearOneof
public ComputeContactsResponse.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<ComputeContactsResponse.Builder>
-
setRepeatedField
public ComputeContactsResponse.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<ComputeContactsResponse.Builder>
-
addRepeatedField
public ComputeContactsResponse.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<ComputeContactsResponse.Builder>
-
mergeFrom
public ComputeContactsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ComputeContactsResponse.Builder>
-
mergeFrom
public ComputeContactsResponse.Builder mergeFrom(ComputeContactsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeContactsResponse.Builder>
-
mergeFrom
public ComputeContactsResponse.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<ComputeContactsResponse.Builder>
- Throws:
IOException
-
getContactsList
public List<Contact> 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:
getContactsList
in 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:
getContactsCount
in interfaceComputeContactsResponseOrBuilder
-
getContacts
public Contact getContacts(int index)
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:
getContacts
in interfaceComputeContactsResponseOrBuilder
-
setContacts
public ComputeContactsResponse.Builder 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.
repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
-
setContacts
public ComputeContactsResponse.Builder 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.
repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
-
addContacts
public ComputeContactsResponse.Builder addContacts(Contact value)
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
public ComputeContactsResponse.Builder 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.
repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
-
addContacts
public ComputeContactsResponse.Builder addContacts(Contact.Builder builderForValue)
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
public ComputeContactsResponse.Builder 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.
repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
-
addAllContacts
public ComputeContactsResponse.Builder addAllContacts(Iterable<? extends Contact> values)
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
public ComputeContactsResponse.Builder 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
public ComputeContactsResponse.Builder removeContacts(int index)
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
public Contact.Builder getContactsBuilder(int index)
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
public ContactOrBuilder getContactsOrBuilder(int index)
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:
getContactsOrBuilder
in interfaceComputeContactsResponseOrBuilder
-
getContactsOrBuilderList
public List<? extends ContactOrBuilder> 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:
getContactsOrBuilderList
in interfaceComputeContactsResponseOrBuilder
-
addContactsBuilder
public Contact.Builder 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
public Contact.Builder addContactsBuilder(int index)
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
public List<Contact.Builder> 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
public String 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:
getNextPageToken
in 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:
getNextPageTokenBytes
in interfaceComputeContactsResponseOrBuilder
- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
public ComputeContactsResponse.Builder setNextPageToken(String value)
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
public ComputeContactsResponse.Builder 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
public ComputeContactsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
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.
-
setUnknownFields
public final ComputeContactsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeContactsResponse.Builder>
-
mergeUnknownFields
public final ComputeContactsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeContactsResponse.Builder>
-
-