public static final class ListSkuGroupsRequest.Builder extends GeneratedMessage.Builder<ListSkuGroupsRequest.Builder> implements ListSkuGroupsRequestOrBuilderRequest message for ListSkuGroups.
Protobuf type google.cloud.channel.v1.ListSkuGroupsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListSkuGroupsRequest.BuilderImplements
ListSkuGroupsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ListSkuGroupsRequest build()| Returns | |
|---|---|
| Type | Description |
ListSkuGroupsRequest |
|
buildPartial()
public ListSkuGroupsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ListSkuGroupsRequest |
|
clear()
public ListSkuGroupsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListSkuGroupsRequest.Builder |
|
clearPageSize()
public ListSkuGroupsRequest.Builder clearPageSize()Optional. The maximum number of SKU groups to return. The service may return fewer than this value. If unspecified, returns a maximum of 1000 SKU groups. The maximum value is 1000; values above 1000 will be coerced to 1000.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ListSkuGroupsRequest.Builder |
This builder for chaining. |
clearPageToken()
public ListSkuGroupsRequest.Builder clearPageToken()Optional. A token identifying a page of results beyond the first page. Obtained through ListSkuGroupsResponse.next_page_token of the previous CloudChannelService.ListSkuGroups call.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ListSkuGroupsRequest.Builder |
This builder for chaining. |
clearParent()
public ListSkuGroupsRequest.Builder clearParent()Required. The resource name of the account from which to list SKU groups. Parent uses the format: accounts/{account}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ListSkuGroupsRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ListSkuGroupsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListSkuGroupsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPageSize()
public int getPageSize()Optional. The maximum number of SKU groups to return. The service may return fewer than this value. If unspecified, returns a maximum of 1000 SKU groups. The maximum value is 1000; values above 1000 will be coerced to 1000.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The pageSize. |
getPageToken()
public String getPageToken()Optional. A token identifying a page of results beyond the first page. Obtained through ListSkuGroupsResponse.next_page_token of the previous CloudChannelService.ListSkuGroups call.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The pageToken. |
getPageTokenBytes()
public ByteString getPageTokenBytes()Optional. A token identifying a page of results beyond the first page. Obtained through ListSkuGroupsResponse.next_page_token of the previous CloudChannelService.ListSkuGroups call.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pageToken. |
getParent()
public String getParent()Required. The resource name of the account from which to list SKU groups. Parent uses the format: accounts/{account}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()Required. The resource name of the account from which to list SKU groups. Parent uses the format: accounts/{account}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListSkuGroupsRequest other)
public ListSkuGroupsRequest.Builder mergeFrom(ListSkuGroupsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ListSkuGroupsRequest |
| Returns | |
|---|---|
| Type | Description |
ListSkuGroupsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListSkuGroupsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListSkuGroupsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListSkuGroupsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListSkuGroupsRequest.Builder |
|
setPageSize(int value)
public ListSkuGroupsRequest.Builder setPageSize(int value)Optional. The maximum number of SKU groups to return. The service may return fewer than this value. If unspecified, returns a maximum of 1000 SKU groups. The maximum value is 1000; values above 1000 will be coerced to 1000.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe pageSize to set. |
| Returns | |
|---|---|
| Type | Description |
ListSkuGroupsRequest.Builder |
This builder for chaining. |
setPageToken(String value)
public ListSkuGroupsRequest.Builder setPageToken(String value)Optional. A token identifying a page of results beyond the first page. Obtained through ListSkuGroupsResponse.next_page_token of the previous CloudChannelService.ListSkuGroups call.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListSkuGroupsRequest.Builder |
This builder for chaining. |
setPageTokenBytes(ByteString value)
public ListSkuGroupsRequest.Builder setPageTokenBytes(ByteString value)Optional. A token identifying a page of results beyond the first page. Obtained through ListSkuGroupsResponse.next_page_token of the previous CloudChannelService.ListSkuGroups call.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListSkuGroupsRequest.Builder |
This builder for chaining. |
setParent(String value)
public ListSkuGroupsRequest.Builder setParent(String value)Required. The resource name of the account from which to list SKU groups. Parent uses the format: accounts/{account}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
ListSkuGroupsRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public ListSkuGroupsRequest.Builder setParentBytes(ByteString value)Required. The resource name of the account from which to list SKU groups. Parent uses the format: accounts/{account}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
ListSkuGroupsRequest.Builder |
This builder for chaining. |