Class AssociationInfo.Builder (3.20.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AssociationInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AssociationInfo.Builder
Overrides

build()

public AssociationInfo build()
Returns
TypeDescription
AssociationInfo

buildPartial()

public AssociationInfo buildPartial()
Returns
TypeDescription
AssociationInfo

clear()

public AssociationInfo.Builder clear()
Returns
TypeDescription
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
TypeDescription
AssociationInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AssociationInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AssociationInfo.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AssociationInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AssociationInfo.Builder
Overrides

clone()

public AssociationInfo.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for baseEntitlement.

getDefaultInstanceForType()

public AssociationInfo getDefaultInstanceForType()
Returns
TypeDescription
AssociationInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AssociationInfo other)

public AssociationInfo.Builder mergeFrom(AssociationInfo other)
Parameter
NameDescription
otherAssociationInfo
Returns
TypeDescription
AssociationInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AssociationInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AssociationInfo.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AssociationInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AssociationInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AssociationInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The baseEntitlement to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for baseEntitlement to set.

Returns
TypeDescription
AssociationInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AssociationInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AssociationInfo.Builder
Overrides

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

public AssociationInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AssociationInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AssociationInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AssociationInfo.Builder
Overrides