Class ListChannelPartnerLinksRequest.Builder (3.58.0)

public static final class ListChannelPartnerLinksRequest.Builder extends GeneratedMessageV3.Builder<ListChannelPartnerLinksRequest.Builder> implements ListChannelPartnerLinksRequestOrBuilder

Request message for CloudChannelService.ListChannelPartnerLinks

Protobuf type google.cloud.channel.v1.ListChannelPartnerLinksRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListChannelPartnerLinksRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListChannelPartnerLinksRequest.Builder
Overrides

build()

public ListChannelPartnerLinksRequest build()
Returns
Type Description
ListChannelPartnerLinksRequest

buildPartial()

public ListChannelPartnerLinksRequest buildPartial()
Returns
Type Description
ListChannelPartnerLinksRequest

clear()

public ListChannelPartnerLinksRequest.Builder clear()
Returns
Type Description
ListChannelPartnerLinksRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListChannelPartnerLinksRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListChannelPartnerLinksRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ListChannelPartnerLinksRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListChannelPartnerLinksRequest.Builder
Overrides

clearPageSize()

public ListChannelPartnerLinksRequest.Builder clearPageSize()

Optional. Requested page size. Server might return fewer results than requested. If unspecified, server will pick a default size (25). The maximum value is 200; the server will coerce values above 200.

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListChannelPartnerLinksRequest.Builder

This builder for chaining.

clearPageToken()

public ListChannelPartnerLinksRequest.Builder clearPageToken()

Optional. A token for a page of results other than the first page. Obtained using ListChannelPartnerLinksResponse.next_page_token of the previous CloudChannelService.ListChannelPartnerLinks call.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListChannelPartnerLinksRequest.Builder

This builder for chaining.

clearParent()

public ListChannelPartnerLinksRequest.Builder clearParent()

Required. The resource name of the reseller account for listing channel partner links. Parent uses the format: accounts/{account_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ListChannelPartnerLinksRequest.Builder

This builder for chaining.

clearView()

public ListChannelPartnerLinksRequest.Builder clearView()

Optional. The level of granularity the ChannelPartnerLink will display.

.google.cloud.channel.v1.ChannelPartnerLinkView view = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListChannelPartnerLinksRequest.Builder

This builder for chaining.

clone()

public ListChannelPartnerLinksRequest.Builder clone()
Returns
Type Description
ListChannelPartnerLinksRequest.Builder
Overrides

getDefaultInstanceForType()

public ListChannelPartnerLinksRequest getDefaultInstanceForType()
Returns
Type Description
ListChannelPartnerLinksRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPageSize()

public int getPageSize()

Optional. Requested page size. Server might return fewer results than requested. If unspecified, server will pick a default size (25). The maximum value is 200; the server will coerce values above 200.

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. A token for a page of results other than the first page. Obtained using ListChannelPartnerLinksResponse.next_page_token of the previous CloudChannelService.ListChannelPartnerLinks call.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. A token for a page of results other than the first page. Obtained using ListChannelPartnerLinksResponse.next_page_token of the previous CloudChannelService.ListChannelPartnerLinks 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 reseller account for listing channel partner links. Parent uses the format: accounts/{account_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The resource name of the reseller account for listing channel partner links. Parent uses the format: accounts/{account_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for parent.

getView()

public ChannelPartnerLinkView getView()

Optional. The level of granularity the ChannelPartnerLink will display.

.google.cloud.channel.v1.ChannelPartnerLinkView view = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ChannelPartnerLinkView

The view.

getViewValue()

public int getViewValue()

Optional. The level of granularity the ChannelPartnerLink will display.

.google.cloud.channel.v1.ChannelPartnerLinkView view = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for view.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListChannelPartnerLinksRequest other)

public ListChannelPartnerLinksRequest.Builder mergeFrom(ListChannelPartnerLinksRequest other)
Parameter
Name Description
other ListChannelPartnerLinksRequest
Returns
Type Description
ListChannelPartnerLinksRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListChannelPartnerLinksRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListChannelPartnerLinksRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListChannelPartnerLinksRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListChannelPartnerLinksRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListChannelPartnerLinksRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListChannelPartnerLinksRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListChannelPartnerLinksRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListChannelPartnerLinksRequest.Builder
Overrides

setPageSize(int value)

public ListChannelPartnerLinksRequest.Builder setPageSize(int value)

Optional. Requested page size. Server might return fewer results than requested. If unspecified, server will pick a default size (25). The maximum value is 200; the server will coerce values above 200.

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListChannelPartnerLinksRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListChannelPartnerLinksRequest.Builder setPageToken(String value)

Optional. A token for a page of results other than the first page. Obtained using ListChannelPartnerLinksResponse.next_page_token of the previous CloudChannelService.ListChannelPartnerLinks call.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListChannelPartnerLinksRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListChannelPartnerLinksRequest.Builder setPageTokenBytes(ByteString value)

Optional. A token for a page of results other than the first page. Obtained using ListChannelPartnerLinksResponse.next_page_token of the previous CloudChannelService.ListChannelPartnerLinks call.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListChannelPartnerLinksRequest.Builder

This builder for chaining.

setParent(String value)

public ListChannelPartnerLinksRequest.Builder setParent(String value)

Required. The resource name of the reseller account for listing channel partner links. Parent uses the format: accounts/{account_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListChannelPartnerLinksRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListChannelPartnerLinksRequest.Builder setParentBytes(ByteString value)

Required. The resource name of the reseller account for listing channel partner links. Parent uses the format: accounts/{account_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ListChannelPartnerLinksRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListChannelPartnerLinksRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListChannelPartnerLinksRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListChannelPartnerLinksRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListChannelPartnerLinksRequest.Builder
Overrides

setView(ChannelPartnerLinkView value)

public ListChannelPartnerLinksRequest.Builder setView(ChannelPartnerLinkView value)

Optional. The level of granularity the ChannelPartnerLink will display.

.google.cloud.channel.v1.ChannelPartnerLinkView view = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ChannelPartnerLinkView

The view to set.

Returns
Type Description
ListChannelPartnerLinksRequest.Builder

This builder for chaining.

setViewValue(int value)

public ListChannelPartnerLinksRequest.Builder setViewValue(int value)

Optional. The level of granularity the ChannelPartnerLink will display.

.google.cloud.channel.v1.ChannelPartnerLinkView view = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for view to set.

Returns
Type Description
ListChannelPartnerLinksRequest.Builder

This builder for chaining.