Class UploadQueueYamlRequest (2.23.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
TypeDescription
int

HTTP_BODY_FIELD_NUMBER

public static final int HTTP_BODY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UploadQueueYamlRequest getDefaultInstance()
Returns
TypeDescription
UploadQueueYamlRequest

getDescriptor()

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

newBuilder()

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

newBuilder(UploadQueueYamlRequest prototype)

public static UploadQueueYamlRequest.Builder newBuilder(UploadQueueYamlRequest prototype)
Parameter
NameDescription
prototypeUploadQueueYamlRequest
Returns
TypeDescription
UploadQueueYamlRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for appId.

getDefaultInstanceForType()

public UploadQueueYamlRequest getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
com.google.api.HttpBodyOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the httpBody 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 UploadQueueYamlRequest.Builder newBuilderForType()
Returns
TypeDescription
UploadQueueYamlRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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