Package com.google.cloud.tasks.v2beta2
Class UploadQueueYamlRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UploadQueueYamlRequest.Builder>
com.google.cloud.tasks.v2beta2.UploadQueueYamlRequest.Builder
- All Implemented Interfaces:
UploadQueueYamlRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- UploadQueueYamlRequest
public static final class UploadQueueYamlRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<UploadQueueYamlRequest.Builder>
implements UploadQueueYamlRequestOrBuilder
Request message for [UploadQueueYaml][google.cloud.tasks.v2beta2.CloudTasks.UploadQueueYaml].Protobuf type
google.cloud.tasks.v2beta2.UploadQueueYamlRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Required.The http body contains the queue.yaml file which used to update queue listsgetAppId()Required.com.google.protobuf.ByteStringRequired.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe http body contains the queue.yaml file which used to update queue listsThe http body contains the queue.yaml file which used to update queue listsThe http body contains the queue.yaml file which used to update queue listsbooleanThe http body contains the queue.yaml file which used to update queue listsprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(UploadQueueYamlRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeHttpBody(HttpBody value) The http body contains the queue.yaml file which used to update queue listsRequired.setAppIdBytes(com.google.protobuf.ByteString value) Required.setHttpBody(HttpBody value) The http body contains the queue.yaml file which used to update queue listssetHttpBody(HttpBody.Builder builderForValue) The http body contains the queue.yaml file which used to update queue listsMethods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<UploadQueueYamlRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<UploadQueueYamlRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<UploadQueueYamlRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UploadQueueYamlRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<UploadQueueYamlRequest.Builder>
-
mergeFrom
public UploadQueueYamlRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UploadQueueYamlRequest.Builder>- Throws:
IOException
-
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];- Specified by:
getAppIdin interfaceUploadQueueYamlRequestOrBuilder- Returns:
- The appId.
-
getAppIdBytes
public com.google.protobuf.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];- Specified by:
getAppIdBytesin interfaceUploadQueueYamlRequestOrBuilder- Returns:
- The bytes for appId.
-
setAppId
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];- Parameters:
value- The appId to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setAppIdBytes
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];- Parameters:
value- The bytes for appId to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
hasHttpBodyin interfaceUploadQueueYamlRequestOrBuilder- Returns:
- Whether the httpBody field is set.
-
getHttpBody
The http body contains the queue.yaml file which used to update queue lists
optional .google.api.HttpBody http_body = 2;- Specified by:
getHttpBodyin interfaceUploadQueueYamlRequestOrBuilder- Returns:
- The httpBody.
-
setHttpBody
The http body contains the queue.yaml file which used to update queue lists
optional .google.api.HttpBody http_body = 2; -
setHttpBody
The http body contains the queue.yaml file which used to update queue lists
optional .google.api.HttpBody http_body = 2; -
mergeHttpBody
The http body contains the queue.yaml file which used to update queue lists
optional .google.api.HttpBody http_body = 2; -
clearHttpBody
The http body contains the queue.yaml file which used to update queue lists
optional .google.api.HttpBody http_body = 2; -
getHttpBodyBuilder
The http body contains the queue.yaml file which used to update queue lists
optional .google.api.HttpBody http_body = 2; -
getHttpBodyOrBuilder
The http body contains the queue.yaml file which used to update queue lists
optional .google.api.HttpBody http_body = 2;- Specified by:
getHttpBodyOrBuilderin interfaceUploadQueueYamlRequestOrBuilder
-