Package com.google.dataflow.v1beta3
Class GetTemplateRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GetTemplateRequest.Builder>
com.google.dataflow.v1beta3.GetTemplateRequest.Builder
- All Implemented Interfaces:
GetTemplateRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- GetTemplateRequest
public static final class GetTemplateRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<GetTemplateRequest.Builder>
implements GetTemplateRequestOrBuilder
A request to retrieve a Cloud Dataflow job template.Protobuf type
google.dataflow.v1beta3.GetTemplateRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Required.The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.Required.The view to retrieve.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.com.google.protobuf.ByteStringThe [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.Required.com.google.protobuf.ByteStringRequired.getView()The view to retrieve.intThe view to retrieve.booleanRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(GetTemplateRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setGcsPath(String value) Required.setGcsPathBytes(com.google.protobuf.ByteString value) Required.setLocation(String value) The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.setLocationBytes(com.google.protobuf.ByteString value) The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.setProjectId(String value) Required.setProjectIdBytes(com.google.protobuf.ByteString value) Required.The view to retrieve.setViewValue(int value) The view to retrieve.Methods 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<GetTemplateRequest.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<GetTemplateRequest.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<GetTemplateRequest.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<GetTemplateRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<GetTemplateRequest.Builder>
-
mergeFrom
public GetTemplateRequest.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<GetTemplateRequest.Builder>- Throws:
IOException
-
getTemplateCase
- Specified by:
getTemplateCasein interfaceGetTemplateRequestOrBuilder
-
clearTemplate
-
getProjectId
Required. The ID of the Cloud Platform project that the job belongs to.
string project_id = 1;- Specified by:
getProjectIdin interfaceGetTemplateRequestOrBuilder- Returns:
- The projectId.
-
getProjectIdBytes
public com.google.protobuf.ByteString getProjectIdBytes()Required. The ID of the Cloud Platform project that the job belongs to.
string project_id = 1;- Specified by:
getProjectIdBytesin interfaceGetTemplateRequestOrBuilder- Returns:
- The bytes for projectId.
-
setProjectId
Required. The ID of the Cloud Platform project that the job belongs to.
string project_id = 1;- Parameters:
value- The projectId to set.- Returns:
- This builder for chaining.
-
clearProjectId
Required. The ID of the Cloud Platform project that the job belongs to.
string project_id = 1;- Returns:
- This builder for chaining.
-
setProjectIdBytes
Required. The ID of the Cloud Platform project that the job belongs to.
string project_id = 1;- Parameters:
value- The bytes for projectId to set.- Returns:
- This builder for chaining.
-
hasGcsPath
public boolean hasGcsPath()Required. A Cloud Storage path to the template from which to create the job. Must be valid Cloud Storage URL, beginning with 'gs://'.
string gcs_path = 2;- Specified by:
hasGcsPathin interfaceGetTemplateRequestOrBuilder- Returns:
- Whether the gcsPath field is set.
-
getGcsPath
Required. A Cloud Storage path to the template from which to create the job. Must be valid Cloud Storage URL, beginning with 'gs://'.
string gcs_path = 2;- Specified by:
getGcsPathin interfaceGetTemplateRequestOrBuilder- Returns:
- The gcsPath.
-
getGcsPathBytes
public com.google.protobuf.ByteString getGcsPathBytes()Required. A Cloud Storage path to the template from which to create the job. Must be valid Cloud Storage URL, beginning with 'gs://'.
string gcs_path = 2;- Specified by:
getGcsPathBytesin interfaceGetTemplateRequestOrBuilder- Returns:
- The bytes for gcsPath.
-
setGcsPath
Required. A Cloud Storage path to the template from which to create the job. Must be valid Cloud Storage URL, beginning with 'gs://'.
string gcs_path = 2;- Parameters:
value- The gcsPath to set.- Returns:
- This builder for chaining.
-
clearGcsPath
Required. A Cloud Storage path to the template from which to create the job. Must be valid Cloud Storage URL, beginning with 'gs://'.
string gcs_path = 2;- Returns:
- This builder for chaining.
-
setGcsPathBytes
Required. A Cloud Storage path to the template from which to create the job. Must be valid Cloud Storage URL, beginning with 'gs://'.
string gcs_path = 2;- Parameters:
value- The bytes for gcsPath to set.- Returns:
- This builder for chaining.
-
getViewValue
public int getViewValue()The view to retrieve. Defaults to METADATA_ONLY.
.google.dataflow.v1beta3.GetTemplateRequest.TemplateView view = 3;- Specified by:
getViewValuein interfaceGetTemplateRequestOrBuilder- Returns:
- The enum numeric value on the wire for view.
-
setViewValue
The view to retrieve. Defaults to METADATA_ONLY.
.google.dataflow.v1beta3.GetTemplateRequest.TemplateView view = 3;- Parameters:
value- The enum numeric value on the wire for view to set.- Returns:
- This builder for chaining.
-
getView
The view to retrieve. Defaults to METADATA_ONLY.
.google.dataflow.v1beta3.GetTemplateRequest.TemplateView view = 3;- Specified by:
getViewin interfaceGetTemplateRequestOrBuilder- Returns:
- The view.
-
setView
The view to retrieve. Defaults to METADATA_ONLY.
.google.dataflow.v1beta3.GetTemplateRequest.TemplateView view = 3;- Parameters:
value- The view to set.- Returns:
- This builder for chaining.
-
clearView
The view to retrieve. Defaults to METADATA_ONLY.
.google.dataflow.v1beta3.GetTemplateRequest.TemplateView view = 3;- Returns:
- This builder for chaining.
-
getLocation
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.
string location = 4;- Specified by:
getLocationin interfaceGetTemplateRequestOrBuilder- Returns:
- The location.
-
getLocationBytes
public com.google.protobuf.ByteString getLocationBytes()The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.
string location = 4;- Specified by:
getLocationBytesin interfaceGetTemplateRequestOrBuilder- Returns:
- The bytes for location.
-
setLocation
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.
string location = 4;- Parameters:
value- The location to set.- Returns:
- This builder for chaining.
-
clearLocation
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.
string location = 4;- Returns:
- This builder for chaining.
-
setLocationBytes
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.
string location = 4;- Parameters:
value- The bytes for location to set.- Returns:
- This builder for chaining.
-