Class BufferTaskResponse (2.31.0)

public final class BufferTaskResponse extends GeneratedMessageV3 implements BufferTaskResponseOrBuilder

Response message for BufferTask.

Protobuf type google.cloud.tasks.v2beta2.BufferTaskResponse

Static Fields

TASK_FIELD_NUMBER

public static final int TASK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BufferTaskResponse getDefaultInstance()
Returns
TypeDescription
BufferTaskResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static BufferTaskResponse.Builder newBuilder()
Returns
TypeDescription
BufferTaskResponse.Builder

newBuilder(BufferTaskResponse prototype)

public static BufferTaskResponse.Builder newBuilder(BufferTaskResponse prototype)
Parameter
NameDescription
prototypeBufferTaskResponse
Returns
TypeDescription
BufferTaskResponse.Builder

parseDelimitedFrom(InputStream input)

public static BufferTaskResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BufferTaskResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BufferTaskResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BufferTaskResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static BufferTaskResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
BufferTaskResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BufferTaskResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BufferTaskResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BufferTaskResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BufferTaskResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BufferTaskResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BufferTaskResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BufferTaskResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BufferTaskResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BufferTaskResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BufferTaskResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static BufferTaskResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BufferTaskResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BufferTaskResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BufferTaskResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static BufferTaskResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BufferTaskResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BufferTaskResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BufferTaskResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<BufferTaskResponse> parser()
Returns
TypeDescription
Parser<BufferTaskResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public BufferTaskResponse getDefaultInstanceForType()
Returns
TypeDescription
BufferTaskResponse

getParserForType()

public Parser<BufferTaskResponse> getParserForType()
Returns
TypeDescription
Parser<BufferTaskResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTask()

public Task getTask()

The created task.

.google.cloud.tasks.v2beta2.Task task = 1;

Returns
TypeDescription
Task

The task.

getTaskOrBuilder()

public TaskOrBuilder getTaskOrBuilder()

The created task.

.google.cloud.tasks.v2beta2.Task task = 1;

Returns
TypeDescription
TaskOrBuilder

hasTask()

public boolean hasTask()

The created task.

.google.cloud.tasks.v2beta2.Task task = 1;

Returns
TypeDescription
boolean

Whether the task field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public BufferTaskResponse.Builder newBuilderForType()
Returns
TypeDescription
BufferTaskResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BufferTaskResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
BufferTaskResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public BufferTaskResponse.Builder toBuilder()
Returns
TypeDescription
BufferTaskResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException