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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateChannelPartnerLinkRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateChannelPartnerLinkRequest build()
Returns
buildPartial()
public CreateChannelPartnerLinkRequest buildPartial()
Returns
clear()
public CreateChannelPartnerLinkRequest.Builder clear()
Returns
Overrides
clearChannelPartnerLink()
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
clearField(Descriptors.FieldDescriptor field)
public CreateChannelPartnerLinkRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateChannelPartnerLinkRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public CreateChannelPartnerLinkRequest.Builder clone()
Returns
Overrides
getChannelPartnerLink()
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
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
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
getDefaultInstanceForType()
public CreateChannelPartnerLinkRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
hasChannelPartnerLink()
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeChannelPartnerLink(ChannelPartnerLink value)
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
Returns
mergeFrom(CreateChannelPartnerLinkRequest other)
public CreateChannelPartnerLinkRequest.Builder mergeFrom(CreateChannelPartnerLinkRequest other)
Parameter
Returns
public CreateChannelPartnerLinkRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateChannelPartnerLinkRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateChannelPartnerLinkRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setChannelPartnerLink(ChannelPartnerLink value)
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
Returns
setChannelPartnerLink(ChannelPartnerLink.Builder builderForValue)
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CreateChannelPartnerLinkRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateChannelPartnerLinkRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateChannelPartnerLinkRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides