public static final class GetTemplateRequest.Builder extends GeneratedMessage.Builder<GetTemplateRequest.Builder> implements GetTemplateRequestOrBuilderA request to retrieve a Cloud Dataflow job template.
Protobuf type google.dataflow.v1beta3.GetTemplateRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GetTemplateRequest.BuilderImplements
GetTemplateRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GetTemplateRequest build()| Returns | |
|---|---|
| Type | Description |
GetTemplateRequest |
|
buildPartial()
public GetTemplateRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GetTemplateRequest |
|
clear()
public GetTemplateRequest.Builder clear()| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
GetTemplateRequest.Builder |
This builder for chaining. |
clearProjectId()
public GetTemplateRequest.Builder clearProjectId()Required. The ID of the Cloud Platform project that the job belongs to.
string project_id = 1;
| Returns | |
|---|---|
| Type | Description |
GetTemplateRequest.Builder |
This builder for chaining. |
clearTemplate()
public GetTemplateRequest.Builder clearTemplate()| Returns | |
|---|---|
| Type | Description |
GetTemplateRequest.Builder |
|
clearView()
public GetTemplateRequest.Builder clearView()The view to retrieve. Defaults to METADATA_ONLY.
.google.dataflow.v1beta3.GetTemplateRequest.TemplateView view = 3;
| Returns | |
|---|---|
| Type | Description |
GetTemplateRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GetTemplateRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GetTemplateRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for gcsPath. |
getLocation()
public String getLocation()The regional endpoint to which to direct the request.
string location = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The location. |
getLocationBytes()
public ByteString getLocationBytes()The regional endpoint to which to direct the request.
string location = 4;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for projectId. |
getTemplateCase()
public GetTemplateRequest.TemplateCase getTemplateCase()| Returns | |
|---|---|
| Type | Description |
GetTemplateRequest.TemplateCase |
|
getView()
public GetTemplateRequest.TemplateView getView()The view to retrieve. Defaults to METADATA_ONLY.
.google.dataflow.v1beta3.GetTemplateRequest.TemplateView view = 3;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the gcsPath field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GetTemplateRequest other)
public GetTemplateRequest.Builder mergeFrom(GetTemplateRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GetTemplateRequest |
| Returns | |
|---|---|
| Type | Description |
GetTemplateRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetTemplateRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetTemplateRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GetTemplateRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe gcsPath to set. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for gcsPath to set. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe location to set. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for location to set. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe projectId to set. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for projectId to set. |
| Returns | |
|---|---|
| Type | Description |
GetTemplateRequest.Builder |
This builder for chaining. |
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;
| Parameter | |
|---|---|
| Name | Description |
value |
GetTemplateRequest.TemplateViewThe view to set. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for view to set. |
| Returns | |
|---|---|
| Type | Description |
GetTemplateRequest.Builder |
This builder for chaining. |