Class UploadQueueYamlRequest.Builder (2.83.0)

public static final class UploadQueueYamlRequest.Builder extends GeneratedMessage.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

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.

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

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

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.

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