Class CreateChannelPartnerLinkRequest.Builder (3.48.0)

public static final class CreateChannelPartnerLinkRequest.Builder extends GeneratedMessageV3.Builder<CreateChannelPartnerLinkRequest.Builder> implements CreateChannelPartnerLinkRequestOrBuilder

Request message for CloudChannelService.CreateChannelPartnerLink

Protobuf type google.cloud.channel.v1.CreateChannelPartnerLinkRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateChannelPartnerLinkRequest build()
Returns
Type Description
CreateChannelPartnerLinkRequest

buildPartial()

public CreateChannelPartnerLinkRequest buildPartial()
Returns
Type Description
CreateChannelPartnerLinkRequest

clear()

public CreateChannelPartnerLinkRequest.Builder clear()
Returns
Type Description
CreateChannelPartnerLinkRequest.Builder
Overrides
public CreateChannelPartnerLinkRequest.Builder clearChannelPartnerLink()

Required. The channel partner link to create. Either channel_partner_link.reseller_cloud_identity_id or domain can be used to create a link.

.google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateChannelPartnerLinkRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateChannelPartnerLinkRequest.Builder clearParent()

Required. Create a channel partner link for the provided reseller account's resource name. Parent uses the format: accounts/{account_id}

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

Returns
Type Description
CreateChannelPartnerLinkRequest.Builder

This builder for chaining.

clone()

public CreateChannelPartnerLinkRequest.Builder clone()
Returns
Type Description
CreateChannelPartnerLinkRequest.Builder
Overrides
public ChannelPartnerLink getChannelPartnerLink()

Required. The channel partner link to create. Either channel_partner_link.reseller_cloud_identity_id or domain can be used to create a link.

.google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ChannelPartnerLink

The channelPartnerLink.

getChannelPartnerLinkBuilder()

public ChannelPartnerLink.Builder getChannelPartnerLinkBuilder()

Required. The channel partner link to create. Either channel_partner_link.reseller_cloud_identity_id or domain can be used to create a link.

.google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ChannelPartnerLink.Builder

getChannelPartnerLinkOrBuilder()

public ChannelPartnerLinkOrBuilder getChannelPartnerLinkOrBuilder()

Required. The channel partner link to create. Either channel_partner_link.reseller_cloud_identity_id or domain can be used to create a link.

.google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ChannelPartnerLinkOrBuilder

getDefaultInstanceForType()

public CreateChannelPartnerLinkRequest getDefaultInstanceForType()
Returns
Type Description
CreateChannelPartnerLinkRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. Create a channel partner link for the provided reseller account's resource name. 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. Create a channel partner link for the provided reseller account's resource name. Parent uses the format: accounts/{account_id}

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

Returns
Type Description
ByteString

The bytes for parent.

public boolean hasChannelPartnerLink()

Required. The channel partner link to create. Either channel_partner_link.reseller_cloud_identity_id or domain can be used to create a link.

.google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the channelPartnerLink field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides
public CreateChannelPartnerLinkRequest.Builder mergeChannelPartnerLink(ChannelPartnerLink value)

Required. The channel partner link to create. Either channel_partner_link.reseller_cloud_identity_id or domain can be used to create a link.

.google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ChannelPartnerLink
Returns
Type Description
CreateChannelPartnerLinkRequest.Builder

mergeFrom(CreateChannelPartnerLinkRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateChannelPartnerLinkRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateChannelPartnerLinkRequest.Builder
Overrides
public CreateChannelPartnerLinkRequest.Builder setChannelPartnerLink(ChannelPartnerLink value)

Required. The channel partner link to create. Either channel_partner_link.reseller_cloud_identity_id or domain can be used to create a link.

.google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ChannelPartnerLink
Returns
Type Description
CreateChannelPartnerLinkRequest.Builder
public CreateChannelPartnerLinkRequest.Builder setChannelPartnerLink(ChannelPartnerLink.Builder builderForValue)

Required. The channel partner link to create. Either channel_partner_link.reseller_cloud_identity_id or domain can be used to create a link.

.google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ChannelPartnerLink.Builder
Returns
Type Description
CreateChannelPartnerLinkRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateChannelPartnerLinkRequest.Builder setParent(String value)

Required. Create a channel partner link for the provided reseller account's resource name. 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
CreateChannelPartnerLinkRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateChannelPartnerLinkRequest.Builder setParentBytes(ByteString value)

Required. Create a channel partner link for the provided reseller account's resource name. 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
CreateChannelPartnerLinkRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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