Class UnassignRequest (0.51.0)

public final class UnassignRequest extends GeneratedMessageV3 implements UnassignRequestOrBuilder

Request message for LicenseManagementService.Unassign.

Protobuf type google.cloud.commerce.consumer.procurement.v1.UnassignRequest

Static Fields

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

USERNAMES_FIELD_NUMBER

public static final int USERNAMES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UnassignRequest getDefaultInstance()
Returns
Type Description
UnassignRequest

getDescriptor()

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

newBuilder()

public static UnassignRequest.Builder newBuilder()
Returns
Type Description
UnassignRequest.Builder

newBuilder(UnassignRequest prototype)

public static UnassignRequest.Builder newBuilder(UnassignRequest prototype)
Parameter
Name Description
prototype UnassignRequest
Returns
Type Description
UnassignRequest.Builder

parseDelimitedFrom(InputStream input)

public static UnassignRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UnassignRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UnassignRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UnassignRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UnassignRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UnassignRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UnassignRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UnassignRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UnassignRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UnassignRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UnassignRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UnassignRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UnassignRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UnassignRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UnassignRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UnassignRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UnassignRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UnassignRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UnassignRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UnassignRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UnassignRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UnassignRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UnassignRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UnassignRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UnassignRequest> parser()
Returns
Type Description
Parser<UnassignRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public UnassignRequest getDefaultInstanceForType()
Returns
Type Description
UnassignRequest

getParent()

public String getParent()

Required. License pool name.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. License pool name.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for parent.

getParserForType()

public Parser<UnassignRequest> getParserForType()
Returns
Type Description
Parser<UnassignRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUsernames(int index)

public String getUsernames(int index)

Required. Username. Format: name@domain.com.

repeated string usernames = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The usernames at the given index.

getUsernamesBytes(int index)

public ByteString getUsernamesBytes(int index)

Required. Username. Format: name@domain.com.

repeated string usernames = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the usernames at the given index.

getUsernamesCount()

public int getUsernamesCount()

Required. Username. Format: name@domain.com.

repeated string usernames = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of usernames.

getUsernamesList()

public ProtocolStringList getUsernamesList()

Required. Username. Format: name@domain.com.

repeated string usernames = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ProtocolStringList

A list containing the usernames.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UnassignRequest.Builder newBuilderForType()
Returns
Type Description
UnassignRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UnassignRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UnassignRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public UnassignRequest.Builder toBuilder()
Returns
Type Description
UnassignRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException