Class UploadQueueYamlRequest.Builder (2.54.0)

publicstaticfinalclass UploadQueueYamlRequest.BuilderextendsGeneratedMessageV3.Builder<UploadQueueYamlRequest.Builder>implementsUploadQueueYamlRequestOrBuilder

Request message for UploadQueueYaml.

Protobuf type google.cloud.tasks.v2beta2.UploadQueueYamlRequest

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicUploadQueueYamlRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UploadQueueYamlRequest.Builder
Overrides

build()

publicUploadQueueYamlRequestbuild()
Returns
Type Description
UploadQueueYamlRequest

buildPartial()

publicUploadQueueYamlRequestbuildPartial()
Returns
Type Description
UploadQueueYamlRequest

clear()

publicUploadQueueYamlRequest.Builderclear()
Returns
Type Description
UploadQueueYamlRequest.Builder
Overrides

clearAppId()

publicUploadQueueYamlRequest.BuilderclearAppId()

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
UploadQueueYamlRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

publicUploadQueueYamlRequest.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UploadQueueYamlRequest.Builder
Overrides

clearHttpBody()

publicUploadQueueYamlRequest.BuilderclearHttpBody()

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

optional .google.api.HttpBody http_body = 2;

Returns
Type Description
UploadQueueYamlRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

publicUploadQueueYamlRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UploadQueueYamlRequest.Builder
Overrides

clone()

publicUploadQueueYamlRequest.Builderclone()
Returns
Type Description
UploadQueueYamlRequest.Builder
Overrides

getAppId()

publicStringgetAppId()

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()

publicByteStringgetAppIdBytes()

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()

publicUploadQueueYamlRequestgetDefaultInstanceForType()
Returns
Type Description
UploadQueueYamlRequest

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getHttpBody()

publicHttpBodygetHttpBody()

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.

getHttpBodyBuilder()

publicHttpBody.BuildergetHttpBodyBuilder()

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.Builder

getHttpBodyOrBuilder()

publicHttpBodyOrBuildergetHttpBodyOrBuilder()

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

hasHttpBody()

publicbooleanhasHttpBody()

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.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UploadQueueYamlRequest other)

publicUploadQueueYamlRequest.BuildermergeFrom(UploadQueueYamlRequestother)
Parameter
Name Description
other UploadQueueYamlRequest
Returns
Type Description
UploadQueueYamlRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicUploadQueueYamlRequest.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UploadQueueYamlRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicUploadQueueYamlRequest.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
UploadQueueYamlRequest.Builder
Overrides

mergeHttpBody(HttpBody value)

publicUploadQueueYamlRequest.BuildermergeHttpBody(HttpBodyvalue)

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

optional .google.api.HttpBody http_body = 2;

Parameter
Name Description
value com.google.api.HttpBody
Returns
Type Description
UploadQueueYamlRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalUploadQueueYamlRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UploadQueueYamlRequest.Builder
Overrides

setAppId(String value)

publicUploadQueueYamlRequest.BuildersetAppId(Stringvalue)

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];

Parameter
Name Description
value String

The appId to set.

Returns
Type Description
UploadQueueYamlRequest.Builder

This builder for chaining.

setAppIdBytes(ByteString value)

publicUploadQueueYamlRequest.BuildersetAppIdBytes(ByteStringvalue)

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];

Parameter
Name Description
value ByteString

The bytes for appId to set.

Returns
Type Description
UploadQueueYamlRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

publicUploadQueueYamlRequest.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UploadQueueYamlRequest.Builder
Overrides

setHttpBody(HttpBody value)

publicUploadQueueYamlRequest.BuildersetHttpBody(HttpBodyvalue)

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

optional .google.api.HttpBody http_body = 2;

Parameter
Name Description
value com.google.api.HttpBody
Returns
Type Description
UploadQueueYamlRequest.Builder

setHttpBody(HttpBody.Builder builderForValue)

publicUploadQueueYamlRequest.BuildersetHttpBody(HttpBody.BuilderbuilderForValue)

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

optional .google.api.HttpBody http_body = 2;

Parameter
Name Description
builderForValue com.google.api.HttpBody.Builder
Returns
Type Description
UploadQueueYamlRequest.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

publicUploadQueueYamlRequest.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UploadQueueYamlRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalUploadQueueYamlRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UploadQueueYamlRequest.Builder
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.