Class ListChannelPartnerLinksRequest.Builder (3.7.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListChannelPartnerLinksRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListChannelPartnerLinksRequest.Builder
Overrides

build()

public ListChannelPartnerLinksRequest build()
Returns
TypeDescription
ListChannelPartnerLinksRequest

buildPartial()

public ListChannelPartnerLinksRequest buildPartial()
Returns
TypeDescription
ListChannelPartnerLinksRequest

clear()

public ListChannelPartnerLinksRequest.Builder clear()
Returns
TypeDescription
ListChannelPartnerLinksRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListChannelPartnerLinksRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListChannelPartnerLinksRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ListChannelPartnerLinksRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ListChannelPartnerLinksRequest.Builder

This builder for chaining.

clone()

public ListChannelPartnerLinksRequest.Builder clone()
Returns
TypeDescription
ListChannelPartnerLinksRequest.Builder
Overrides

getDefaultInstanceForType()

public ListChannelPartnerLinksRequest getDefaultInstanceForType()
Returns
TypeDescription
ListChannelPartnerLinksRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for view.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListChannelPartnerLinksRequest other)

public ListChannelPartnerLinksRequest.Builder mergeFrom(ListChannelPartnerLinksRequest other)
Parameter
NameDescription
otherListChannelPartnerLinksRequest
Returns
TypeDescription
ListChannelPartnerLinksRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListChannelPartnerLinksRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListChannelPartnerLinksRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListChannelPartnerLinksRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListChannelPartnerLinksRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListChannelPartnerLinksRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListChannelPartnerLinksRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListChannelPartnerLinksRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
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
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListChannelPartnerLinksRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListChannelPartnerLinksRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueChannelPartnerLinkView

The view to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
ListChannelPartnerLinksRequest.Builder

This builder for chaining.