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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
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>
|
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 |
---|
Name | Description |
value | Contact
|
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;
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;
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;
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;
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 |
---|
Name | Description |
index | int
|
public ComputeContactsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ComputeContactsResponse build()
public ComputeContactsResponse buildPartial()
public ComputeContactsResponse.Builder clear()
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;
public ComputeContactsResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
public ComputeContactsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ComputeContactsResponse.Builder clone()
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
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;
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 |
---|
Type | Description |
int | |
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;
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 |
---|
Name | Description |
index | int
|
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()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
public final boolean isInitialized()
Overrides
public ComputeContactsResponse.Builder mergeFrom(ComputeContactsResponse other)
public ComputeContactsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ComputeContactsResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final ComputeContactsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
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;
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;
public ComputeContactsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
public ComputeContactsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ComputeContactsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides