Class AssociationInfo.Builder (3.57.0)

public static final class AssociationInfo.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AssociationInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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