public static final class ComputeContactsResponse.Builder extends GeneratedMessageV3.Builder<ComputeContactsResponse.Builder> implements ComputeContactsResponseOrBuilder
Response message for the ComputeContacts method.
Protobuf type google.cloud.essentialcontacts.v1.ComputeContactsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
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;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.essentialcontacts.v1.Contact>
|
Returns
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;
Parameter
Returns
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;
Parameter
Returns
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;
Parameters
Returns
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;
Parameters
Returns
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;
Returns
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;
Parameter
Returns
public ComputeContactsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ComputeContactsResponse build()
Returns
public ComputeContactsResponse buildPartial()
Returns
public ComputeContactsResponse.Builder clear()
Returns
Overrides
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;
Returns
public ComputeContactsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
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
public ComputeContactsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ComputeContactsResponse.Builder clone()
Returns
Overrides
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;
Parameter
Returns
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;
Parameter
Returns
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;
Returns
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;
Returns
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;
Returns
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;
Parameter
Returns
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;
Returns
Type | Description |
List<? extends com.google.cloud.essentialcontacts.v1.ContactOrBuilder> | |
public ComputeContactsResponse getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public 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;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ComputeContactsResponse.Builder mergeFrom(ComputeContactsResponse other)
Parameter
Returns
public ComputeContactsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ComputeContactsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ComputeContactsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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;
Parameter
Returns
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;
Parameters
Returns
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;
Parameters
Returns
public ComputeContactsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
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;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ComputeContactsResponse.Builder setNextPageTokenBytes(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;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
public ComputeContactsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ComputeContactsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides