Class UploadQueueYamlRequest (2.54.0)

public final class UploadQueueYamlRequest extends GeneratedMessageV3 implements UploadQueueYamlRequestOrBuilder

Request message for UploadQueueYaml.

Protobuf type google.cloud.tasks.v2beta2.UploadQueueYamlRequest

Static Fields

APP_ID_FIELD_NUMBER

public static final int APP_ID_FIELD_NUMBER
Field Value
Type Description
int

HTTP_BODY_FIELD_NUMBER

public static final int HTTP_BODY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UploadQueueYamlRequest getDefaultInstance()
Returns
Type Description
UploadQueueYamlRequest

getDescriptor()

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

newBuilder()

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

newBuilder(UploadQueueYamlRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAppId()

public String getAppId()

Required. The App ID is supplied as an HTTP parameter. Unlike internal usage of App ID, it does not include a region prefix. Rather, the App ID represents the Project ID against which to make the request.

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

Returns
Type Description
String

The appId.

getAppIdBytes()

public ByteString getAppIdBytes()

Required. The App ID is supplied as an HTTP parameter. Unlike internal usage of App ID, it does not include a region prefix. Rather, the App ID represents the Project ID against which to make the request.

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

Returns
Type Description
ByteString

The bytes for appId.

getDefaultInstanceForType()

public UploadQueueYamlRequest getDefaultInstanceForType()
Returns
Type Description
UploadQueueYamlRequest

getHttpBody()

public HttpBody getHttpBody()

The http body contains the queue.yaml file which used to update queue lists

optional .google.api.HttpBody http_body = 2;

Returns
Type Description
com.google.api.HttpBody

The httpBody.

getHttpBodyOrBuilder()

public HttpBodyOrBuilder getHttpBodyOrBuilder()

The http body contains the queue.yaml file which used to update queue lists

optional .google.api.HttpBody http_body = 2;

Returns
Type Description
com.google.api.HttpBodyOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasHttpBody()

public boolean hasHttpBody()

The http body contains the queue.yaml file which used to update queue lists

optional .google.api.HttpBody http_body = 2;

Returns
Type Description
boolean

Whether the httpBody field is set.

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 UploadQueueYamlRequest.Builder newBuilderForType()
Returns
Type Description
UploadQueueYamlRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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