public final class AssignmentProtocol extends GeneratedMessageV3 implements AssignmentProtocolOrBuilder
Assignment protocol for a license pool.
Protobuf type google.cloud.commerce.consumer.procurement.v1.AssignmentProtocol
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
AUTO_ASSIGNMENT_TYPE_FIELD_NUMBER
public static final int AUTO_ASSIGNMENT_TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MANUAL_ASSIGNMENT_TYPE_FIELD_NUMBER
public static final int MANUAL_ASSIGNMENT_TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static AssignmentProtocol getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AssignmentProtocol.Builder newBuilder()
newBuilder(AssignmentProtocol prototype)
public static AssignmentProtocol.Builder newBuilder(AssignmentProtocol prototype)
public static AssignmentProtocol parseDelimitedFrom(InputStream input)
public static AssignmentProtocol parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AssignmentProtocol parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AssignmentProtocol parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AssignmentProtocol parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AssignmentProtocol parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AssignmentProtocol parseFrom(CodedInputStream input)
public static AssignmentProtocol parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AssignmentProtocol parseFrom(InputStream input)
public static AssignmentProtocol parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AssignmentProtocol parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AssignmentProtocol parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AssignmentProtocol> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAssignmentTypeCase()
public AssignmentProtocol.AssignmentTypeCase getAssignmentTypeCase()
getAutoAssignmentType()
public AssignmentProtocol.AutoAssignmentType getAutoAssignmentType()
Allow automatic assignments triggered by data plane operations.
.google.cloud.commerce.consumer.procurement.v1.AssignmentProtocol.AutoAssignmentType auto_assignment_type = 3;
getAutoAssignmentTypeOrBuilder()
public AssignmentProtocol.AutoAssignmentTypeOrBuilder getAutoAssignmentTypeOrBuilder()
Allow automatic assignments triggered by data plane operations.
.google.cloud.commerce.consumer.procurement.v1.AssignmentProtocol.AutoAssignmentType auto_assignment_type = 3;
getDefaultInstanceForType()
public AssignmentProtocol getDefaultInstanceForType()
getManualAssignmentType()
public AssignmentProtocol.ManualAssignmentType getManualAssignmentType()
Allow manual assignments triggered by administrative operations only.
.google.cloud.commerce.consumer.procurement.v1.AssignmentProtocol.ManualAssignmentType manual_assignment_type = 2;
getManualAssignmentTypeOrBuilder()
public AssignmentProtocol.ManualAssignmentTypeOrBuilder getManualAssignmentTypeOrBuilder()
Allow manual assignments triggered by administrative operations only.
.google.cloud.commerce.consumer.procurement.v1.AssignmentProtocol.ManualAssignmentType manual_assignment_type = 2;
getParserForType()
public Parser<AssignmentProtocol> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hasAutoAssignmentType()
public boolean hasAutoAssignmentType()
Allow automatic assignments triggered by data plane operations.
.google.cloud.commerce.consumer.procurement.v1.AssignmentProtocol.AutoAssignmentType auto_assignment_type = 3;
Returns |
Type |
Description |
boolean |
Whether the autoAssignmentType field is set.
|
hasManualAssignmentType()
public boolean hasManualAssignmentType()
Allow manual assignments triggered by administrative operations only.
.google.cloud.commerce.consumer.procurement.v1.AssignmentProtocol.ManualAssignmentType manual_assignment_type = 2;
Returns |
Type |
Description |
boolean |
Whether the manualAssignmentType field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AssignmentProtocol.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AssignmentProtocol.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public AssignmentProtocol.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides