Class UploadQueueYamlRequest.Builder (2.42.0)

public static final class UploadQueueYamlRequest.Builder extends GeneratedMessageV3.Builder<UploadQueueYamlRequest.Builder> implements UploadQueueYamlRequestOrBuilder

Request message for UploadQueueYaml.

Protobuf type google.cloud.tasks.v2beta2.UploadQueueYamlRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UploadQueueYamlRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UploadQueueYamlRequest.Builder
Overrides

build()

public UploadQueueYamlRequest build()
Returns
Type Description
UploadQueueYamlRequest

buildPartial()

public UploadQueueYamlRequest buildPartial()
Returns
Type Description
UploadQueueYamlRequest

clear()

public UploadQueueYamlRequest.Builder clear()
Returns
Type Description
UploadQueueYamlRequest.Builder
Overrides

clearAppId()

public UploadQueueYamlRequest.Builder clearAppId()

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)

public UploadQueueYamlRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UploadQueueYamlRequest.Builder
Overrides

clearHttpBody()

public UploadQueueYamlRequest.Builder clearHttpBody()

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)

public UploadQueueYamlRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UploadQueueYamlRequest.Builder
Overrides

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getHttpBodyBuilder()

public HttpBody.Builder getHttpBodyBuilder()

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

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UploadQueueYamlRequest other)

public UploadQueueYamlRequest.Builder mergeFrom(UploadQueueYamlRequest other)
Parameter
Name Description
other UploadQueueYamlRequest
Returns
Type Description
UploadQueueYamlRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UploadQueueYamlRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UploadQueueYamlRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UploadQueueYamlRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UploadQueueYamlRequest.Builder
Overrides

mergeHttpBody(HttpBody value)

public UploadQueueYamlRequest.Builder mergeHttpBody(HttpBody value)

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)

public final UploadQueueYamlRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UploadQueueYamlRequest.Builder
Overrides

setAppId(String value)

public UploadQueueYamlRequest.Builder setAppId(String value)

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)

public UploadQueueYamlRequest.Builder setAppIdBytes(ByteString value)

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)

public UploadQueueYamlRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UploadQueueYamlRequest.Builder
Overrides

setHttpBody(HttpBody value)

public UploadQueueYamlRequest.Builder setHttpBody(HttpBody value)

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)

public UploadQueueYamlRequest.Builder setHttpBody(HttpBody.Builder builderForValue)

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)

public UploadQueueYamlRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UploadQueueYamlRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UploadQueueYamlRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UploadQueueYamlRequest.Builder
Overrides