public final class UpdateChannelPartnerLinkRequest extends GeneratedMessageV3 implements UpdateChannelPartnerLinkRequestOrBuilder
Request message for
CloudChannelService.UpdateChannelPartnerLink
Protobuf type google.cloud.channel.v1.UpdateChannelPartnerLinkRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CHANNEL_PARTNER_LINK_FIELD_NUMBER
public static final int CHANNEL_PARTNER_LINK_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
UPDATE_MASK_FIELD_NUMBER
public static final int UPDATE_MASK_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static UpdateChannelPartnerLinkRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static UpdateChannelPartnerLinkRequest.Builder newBuilder()
newBuilder(UpdateChannelPartnerLinkRequest prototype)
public static UpdateChannelPartnerLinkRequest.Builder newBuilder(UpdateChannelPartnerLinkRequest prototype)
public static UpdateChannelPartnerLinkRequest parseDelimitedFrom(InputStream input)
public static UpdateChannelPartnerLinkRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static UpdateChannelPartnerLinkRequest parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateChannelPartnerLinkRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static UpdateChannelPartnerLinkRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateChannelPartnerLinkRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateChannelPartnerLinkRequest parseFrom(CodedInputStream input)
public static UpdateChannelPartnerLinkRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateChannelPartnerLinkRequest parseFrom(InputStream input)
public static UpdateChannelPartnerLinkRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static UpdateChannelPartnerLinkRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpdateChannelPartnerLinkRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<UpdateChannelPartnerLinkRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getChannelPartnerLink()
public ChannelPartnerLink getChannelPartnerLink()
Required. The channel partner link to update. Only
channel_partner_link.link_state is allowed for updates.
.google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED];
getChannelPartnerLinkOrBuilder()
public ChannelPartnerLinkOrBuilder getChannelPartnerLinkOrBuilder()
Required. The channel partner link to update. Only
channel_partner_link.link_state is allowed for updates.
.google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public UpdateChannelPartnerLinkRequest getDefaultInstanceForType()
getName()
Required. The resource name of the channel partner link to cancel.
Name uses the format: accounts/{account_id}/channelPartnerLinks/{id}
where {id} is the Cloud Identity ID of the partner.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Required. The resource name of the channel partner link to cancel.
Name uses the format: accounts/{account_id}/channelPartnerLinks/{id}
where {id} is the Cloud Identity ID of the partner.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
ByteString | The bytes for name.
|
getParserForType()
public Parser<UpdateChannelPartnerLinkRequest> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUpdateMask()
public FieldMask getUpdateMask()
Required. The update mask that applies to the resource.
The only allowable value for an update mask is
channel_partner_link.link_state.
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
FieldMask | The updateMask.
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Required. The update mask that applies to the resource.
The only allowable value for an update mask is
channel_partner_link.link_state.
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
hasChannelPartnerLink()
public boolean hasChannelPartnerLink()
Required. The channel partner link to update. Only
channel_partner_link.link_state is allowed for updates.
.google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the channelPartnerLink field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Required. The update mask that applies to the resource.
The only allowable value for an update mask is
channel_partner_link.link_state.
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the updateMask field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public UpdateChannelPartnerLinkRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpdateChannelPartnerLinkRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public UpdateChannelPartnerLinkRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides