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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateChannelPartnerLinkRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateChannelPartnerLinkRequest build()
buildPartial()
public CreateChannelPartnerLinkRequest buildPartial()
clear()
public CreateChannelPartnerLinkRequest.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public CreateChannelPartnerLinkRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateChannelPartnerLinkRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
clone()
public CreateChannelPartnerLinkRequest.Builder clone()
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];
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];
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];
getDefaultInstanceForType()
public CreateChannelPartnerLinkRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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.
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
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];
mergeFrom(CreateChannelPartnerLinkRequest other)
public CreateChannelPartnerLinkRequest.Builder mergeFrom(CreateChannelPartnerLinkRequest other)
public CreateChannelPartnerLinkRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateChannelPartnerLinkRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateChannelPartnerLinkRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
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];
setField(Descriptors.FieldDescriptor field, Object value)
public CreateChannelPartnerLinkRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateChannelPartnerLinkRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateChannelPartnerLinkRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides