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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AssociationInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AssociationInfo build()
Returns
buildPartial()
public AssociationInfo buildPartial()
Returns
clear()
public AssociationInfo.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public AssociationInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AssociationInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public AssociationInfo.Builder clone()
Returns
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(AssociationInfo other)
public AssociationInfo.Builder mergeFrom(AssociationInfo other)
Parameter
Returns
public AssociationInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AssociationInfo.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AssociationInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
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
setField(Descriptors.FieldDescriptor field, Object value)
public AssociationInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AssociationInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AssociationInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides