Class AssociationInfo.Builder (3.87.0)

public static final class AssociationInfo.Builder extends GeneratedMessage.Builder<AssociationInfo.Builder> implements AssociationInfoOrBuilder

Association links that an entitlement has to other entitlements.

Protobuf type google.cloud.channel.v1.AssociationInfo

Static Methods

getDescriptor()

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

Methods

build()

public AssociationInfo build()
Returns
Type Description
AssociationInfo

buildPartial()

public AssociationInfo buildPartial()
Returns
Type Description
AssociationInfo

clear()

public AssociationInfo.Builder clear()
Returns
Type Description
AssociationInfo.Builder
Overrides

clearBaseEntitlement()

public AssociationInfo.Builder clearBaseEntitlement()

The name of the base entitlement, for which this entitlement is an add-on.

string base_entitlement = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
AssociationInfo.Builder

This builder for chaining.

getBaseEntitlement()

public String getBaseEntitlement()

The name of the base entitlement, for which this entitlement is an add-on.

string base_entitlement = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The baseEntitlement.

getBaseEntitlementBytes()

public ByteString getBaseEntitlementBytes()

The name of the base entitlement, for which this entitlement is an add-on.

string base_entitlement = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for baseEntitlement.

getDefaultInstanceForType()

public AssociationInfo getDefaultInstanceForType()
Returns
Type Description
AssociationInfo

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AssociationInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setBaseEntitlement(String value)

public AssociationInfo.Builder setBaseEntitlement(String value)

The name of the base entitlement, for which this entitlement is an add-on.

string base_entitlement = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The baseEntitlement to set.

Returns
Type Description
AssociationInfo.Builder

This builder for chaining.

setBaseEntitlementBytes(ByteString value)

public AssociationInfo.Builder setBaseEntitlementBytes(ByteString value)

The name of the base entitlement, for which this entitlement is an add-on.

string base_entitlement = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for baseEntitlement to set.

Returns
Type Description
AssociationInfo.Builder

This builder for chaining.