- 0.59.0 (latest)
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.5.0
public static final class GetTemplateRequest.Builder extends GeneratedMessageV3.Builder<GetTemplateRequest.Builder> implements GetTemplateRequestOrBuilder
A 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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetTemplateRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
GetTemplateRequest.Builder |
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 |
clearField(Descriptors.FieldDescriptor field)
public GetTemplateRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
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. |
clearOneof(Descriptors.OneofDescriptor oneof)
public GetTemplateRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
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;
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. |
clone()
public GetTemplateRequest.Builder clone()
Returns | |
---|---|
Type | Description |
GetTemplateRequest.Builder |
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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetTemplateRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GetTemplateRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public GetTemplateRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
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 | String The 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 | ByteString The 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 | String The 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 | ByteString The 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 | String The 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 | ByteString The bytes for projectId to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
GetTemplateRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final GetTemplateRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | GetTemplateRequest.TemplateView The 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 | int The enum numeric value on the wire for view to set. |
Returns | |
---|---|
Type | Description |
GetTemplateRequest.Builder | This builder for chaining. |