Class UploadQueueYamlRequest.Builder (2.32.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UploadQueueYamlRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UploadQueueYamlRequest.Builder
Overrides

build()

public UploadQueueYamlRequest build()
Returns
TypeDescription
UploadQueueYamlRequest

buildPartial()

public UploadQueueYamlRequest buildPartial()
Returns
TypeDescription
UploadQueueYamlRequest

clear()

public UploadQueueYamlRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
UploadQueueYamlRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public UploadQueueYamlRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
UploadQueueYamlRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public UploadQueueYamlRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UploadQueueYamlRequest.Builder
Overrides

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the httpBody field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UploadQueueYamlRequest other)

public UploadQueueYamlRequest.Builder mergeFrom(UploadQueueYamlRequest other)
Parameter
NameDescription
otherUploadQueueYamlRequest
Returns
TypeDescription
UploadQueueYamlRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UploadQueueYamlRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UploadQueueYamlRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UploadQueueYamlRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valuecom.google.api.HttpBody
Returns
TypeDescription
UploadQueueYamlRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UploadQueueYamlRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The appId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for appId to set.

Returns
TypeDescription
UploadQueueYamlRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public UploadQueueYamlRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuecom.google.api.HttpBody
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.api.HttpBody.Builder
Returns
TypeDescription
UploadQueueYamlRequest.Builder

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

public UploadQueueYamlRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UploadQueueYamlRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UploadQueueYamlRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UploadQueueYamlRequest.Builder
Overrides