public static final class ListContactsRequest.Builder extends GeneratedMessageV3.Builder<ListContactsRequest.Builder> implements ListContactsRequestOrBuilder
Request message for the ListContacts method.
Protobuf type google.cloud.essentialcontacts.v1.ListContactsRequest
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 ListContactsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ListContactsRequest build()
public ListContactsRequest buildPartial()
public ListContactsRequest.Builder clear()
Overrides
public ListContactsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ListContactsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPageSize()
public ListContactsRequest.Builder clearPageSize()
Optional. The maximum number of results to return from this request.
Non-positive values are ignored. The presence of next_page_token
in the
response indicates that more results might be available.
If not specified, the default page_size is 100.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
clearPageToken()
public ListContactsRequest.Builder clearPageToken()
Optional. If present, retrieves the next batch of results from the
preceding call to this method. page_token
must be the value of
next_page_token
from the previous response. The values of other method
parameters should be identical to those in the previous call.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
public ListContactsRequest.Builder clearParent()
Required. The parent resource name.
Format: organizations/{organization_id}, folders/{folder_id} or
projects/{project_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public ListContactsRequest.Builder clone()
Overrides
public ListContactsRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getPageSize()
Optional. The maximum number of results to return from this request.
Non-positive values are ignored. The presence of next_page_token
in the
response indicates that more results might be available.
If not specified, the default page_size is 100.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
The pageSize.
|
getPageToken()
public String getPageToken()
Optional. If present, retrieves the next batch of results from the
preceding call to this method. page_token
must be the value of
next_page_token
from the previous response. The values of other method
parameters should be identical to those in the previous call.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The pageToken.
|
getPageTokenBytes()
public ByteString getPageTokenBytes()
Optional. If present, retrieves the next batch of results from the
preceding call to this method. page_token
must be the value of
next_page_token
from the previous response. The values of other method
parameters should be identical to those in the previous call.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for pageToken.
|
public String getParent()
Required. The parent resource name.
Format: organizations/{organization_id}, folders/{folder_id} or
projects/{project_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The parent.
|
public ByteString getParentBytes()
Required. The parent resource name.
Format: organizations/{organization_id}, folders/{folder_id} or
projects/{project_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for parent.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ListContactsRequest.Builder mergeFrom(ListContactsRequest other)
public ListContactsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ListContactsRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final ListContactsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ListContactsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPageSize(int value)
public ListContactsRequest.Builder setPageSize(int value)
Optional. The maximum number of results to return from this request.
Non-positive values are ignored. The presence of next_page_token
in the
response indicates that more results might be available.
If not specified, the default page_size is 100.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
int
The pageSize to set.
|
setPageToken(String value)
public ListContactsRequest.Builder setPageToken(String value)
Optional. If present, retrieves the next batch of results from the
preceding call to this method. page_token
must be the value of
next_page_token
from the previous response. The values of other method
parameters should be identical to those in the previous call.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
String
The pageToken to set.
|
setPageTokenBytes(ByteString value)
public ListContactsRequest.Builder setPageTokenBytes(ByteString value)
Optional. If present, retrieves the next batch of results from the
preceding call to this method. page_token
must be the value of
next_page_token
from the previous response. The values of other method
parameters should be identical to those in the previous call.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
ByteString
The bytes for pageToken to set.
|
public ListContactsRequest.Builder setParent(String value)
Required. The parent resource name.
Format: organizations/{organization_id}, folders/{folder_id} or
projects/{project_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The parent to set.
|
public ListContactsRequest.Builder setParentBytes(ByteString value)
Required. The parent resource name.
Format: organizations/{organization_id}, folders/{folder_id} or
projects/{project_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for parent to set.
|
public ListContactsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ListContactsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides