public static final class GetTemplateRequest.Builder extends GeneratedMessageV3.Builder<GetTemplateRequest.Builder> implements GetTemplateRequestOrBuilderA request to retrieve a Cloud Dataflow job template.
Protobuf type google.dataflow.v1beta3.GetTemplateRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GetTemplateRequest.BuilderImplements
GetTemplateRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetTemplateRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| GetTemplateRequest.Builder |
build()
public GetTemplateRequest build()| Type | Description |
| GetTemplateRequest |
buildPartial()
public GetTemplateRequest buildPartial()| Type | Description |
| GetTemplateRequest |
clear()
public GetTemplateRequest.Builder clear()| Type | Description |
| GetTemplateRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public GetTemplateRequest.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| GetTemplateRequest.Builder |
clearGcsPath()
public GetTemplateRequest.Builder 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;
| Type | Description |
| GetTemplateRequest.Builder | This builder for chaining. |
clearLocation()
public GetTemplateRequest.Builder clearLocation()The regional endpoint to which to direct the request.
string location = 4;
| Type | Description |
| GetTemplateRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public GetTemplateRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| GetTemplateRequest.Builder |
clearProjectId()
public GetTemplateRequest.Builder clearProjectId()Required. The ID of the Cloud Platform project that the job belongs to.
string project_id = 1;
| Type | Description |
| GetTemplateRequest.Builder | This builder for chaining. |
clearTemplate()
public GetTemplateRequest.Builder clearTemplate()| Type | Description |
| GetTemplateRequest.Builder |
clearView()
public GetTemplateRequest.Builder clearView()The view to retrieve. Defaults to METADATA_ONLY.
.google.dataflow.v1beta3.GetTemplateRequest.TemplateView view = 3;
| Type | Description |
| GetTemplateRequest.Builder | This builder for chaining. |
clone()
public GetTemplateRequest.Builder clone()| Type | Description |
| GetTemplateRequest.Builder |
getDefaultInstanceForType()
public GetTemplateRequest getDefaultInstanceForType()| Type | Description |
| GetTemplateRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getGcsPath()
public String 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;
| Type | Description |
| String | The gcsPath. |
getGcsPathBytes()
public 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;
| Type | Description |
| ByteString | The bytes for gcsPath. |
getLocation()
public String getLocation()The regional endpoint to which to direct the request.
string location = 4;
| Type | Description |
| String | The location. |
getLocationBytes()
public ByteString getLocationBytes()The regional endpoint to which to direct the request.
string location = 4;
| Type | Description |
| ByteString | The bytes for location. |
getProjectId()
public String getProjectId()Required. The ID of the Cloud Platform project that the job belongs to.
string project_id = 1;
| Type | Description |
| String | The projectId. |
getProjectIdBytes()
public ByteString getProjectIdBytes()Required. The ID of the Cloud Platform project that the job belongs to.
string project_id = 1;
| Type | Description |
| ByteString | The bytes for projectId. |
getTemplateCase()
public GetTemplateRequest.TemplateCase getTemplateCase()| Type | Description |
| GetTemplateRequest.TemplateCase |
getView()
public GetTemplateRequest.TemplateView getView()The view to retrieve. Defaults to METADATA_ONLY.
.google.dataflow.v1beta3.GetTemplateRequest.TemplateView view = 3;
| Type | Description |
| GetTemplateRequest.TemplateView | The view. |
getViewValue()
public int getViewValue()The view to retrieve. Defaults to METADATA_ONLY.
.google.dataflow.v1beta3.GetTemplateRequest.TemplateView view = 3;
| Type | Description |
| int | The enum numeric value on the wire for view. |
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;
| Type | Description |
| boolean | Whether the gcsPath field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeFrom(GetTemplateRequest other)
public GetTemplateRequest.Builder mergeFrom(GetTemplateRequest other)| Name | Description |
| other | GetTemplateRequest |
| Type | Description |
| GetTemplateRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetTemplateRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| GetTemplateRequest.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public GetTemplateRequest.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| GetTemplateRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetTemplateRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| GetTemplateRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public GetTemplateRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| GetTemplateRequest.Builder |
setGcsPath(String value)
public GetTemplateRequest.Builder setGcsPath(String value)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;
| Name | Description |
| value | StringThe gcsPath to set. |
| Type | Description |
| GetTemplateRequest.Builder | This builder for chaining. |
setGcsPathBytes(ByteString value)
public GetTemplateRequest.Builder setGcsPathBytes(ByteString value)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;
| Name | Description |
| value | ByteStringThe bytes for gcsPath to set. |
| Type | Description |
| GetTemplateRequest.Builder | This builder for chaining. |
setLocation(String value)
public GetTemplateRequest.Builder setLocation(String value)The regional endpoint to which to direct the request.
string location = 4;
| Name | Description |
| value | StringThe location to set. |
| Type | Description |
| GetTemplateRequest.Builder | This builder for chaining. |
setLocationBytes(ByteString value)
public GetTemplateRequest.Builder setLocationBytes(ByteString value)The regional endpoint to which to direct the request.
string location = 4;
| Name | Description |
| value | ByteStringThe bytes for location to set. |
| Type | Description |
| GetTemplateRequest.Builder | This builder for chaining. |
setProjectId(String value)
public GetTemplateRequest.Builder setProjectId(String value)Required. The ID of the Cloud Platform project that the job belongs to.
string project_id = 1;
| Name | Description |
| value | StringThe projectId to set. |
| Type | Description |
| GetTemplateRequest.Builder | This builder for chaining. |
setProjectIdBytes(ByteString value)
public GetTemplateRequest.Builder setProjectIdBytes(ByteString value)Required. The ID of the Cloud Platform project that the job belongs to.
string project_id = 1;
| Name | Description |
| value | ByteStringThe bytes for projectId to set. |
| Type | Description |
| GetTemplateRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetTemplateRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| GetTemplateRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final GetTemplateRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| GetTemplateRequest.Builder |
setView(GetTemplateRequest.TemplateView value)
public GetTemplateRequest.Builder setView(GetTemplateRequest.TemplateView value)The view to retrieve. Defaults to METADATA_ONLY.
.google.dataflow.v1beta3.GetTemplateRequest.TemplateView view = 3;
| Name | Description |
| value | GetTemplateRequest.TemplateViewThe view to set. |
| Type | Description |
| GetTemplateRequest.Builder | This builder for chaining. |
setViewValue(int value)
public GetTemplateRequest.Builder setViewValue(int value)The view to retrieve. Defaults to METADATA_ONLY.
.google.dataflow.v1beta3.GetTemplateRequest.TemplateView view = 3;
| Name | Description |
| value | intThe enum numeric value on the wire for view to set. |
| Type | Description |
| GetTemplateRequest.Builder | This builder for chaining. |