Class GetTemplateResponse.Builder (0.46.0)

public static final class GetTemplateResponse.Builder extends GeneratedMessageV3.Builder<GetTemplateResponse.Builder> implements GetTemplateResponseOrBuilder

The response to a GetTemplate request.

Protobuf type google.dataflow.v1beta3.GetTemplateResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetTemplateResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetTemplateResponse.Builder
Overrides

build()

public GetTemplateResponse build()
Returns
Type Description
GetTemplateResponse

buildPartial()

public GetTemplateResponse buildPartial()
Returns
Type Description
GetTemplateResponse

clear()

public GetTemplateResponse.Builder clear()
Returns
Type Description
GetTemplateResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetTemplateResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GetTemplateResponse.Builder
Overrides

clearMetadata()

public GetTemplateResponse.Builder clearMetadata()

The template metadata describing the template name, available parameters, etc.

.google.dataflow.v1beta3.TemplateMetadata metadata = 2;

Returns
Type Description
GetTemplateResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public GetTemplateResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GetTemplateResponse.Builder
Overrides

clearRuntimeMetadata()

public GetTemplateResponse.Builder clearRuntimeMetadata()

Describes the runtime metadata with SDKInfo and available parameters.

.google.dataflow.v1beta3.RuntimeMetadata runtime_metadata = 4;

Returns
Type Description
GetTemplateResponse.Builder

clearStatus()

public GetTemplateResponse.Builder clearStatus()

The status of the get template request. Any problems with the request will be indicated in the error_details.

.google.rpc.Status status = 1;

Returns
Type Description
GetTemplateResponse.Builder

clearTemplateType()

public GetTemplateResponse.Builder clearTemplateType()

Template Type.

.google.dataflow.v1beta3.GetTemplateResponse.TemplateType template_type = 3;

Returns
Type Description
GetTemplateResponse.Builder

This builder for chaining.

clone()

public GetTemplateResponse.Builder clone()
Returns
Type Description
GetTemplateResponse.Builder
Overrides

getDefaultInstanceForType()

public GetTemplateResponse getDefaultInstanceForType()
Returns
Type Description
GetTemplateResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMetadata()

public TemplateMetadata getMetadata()

The template metadata describing the template name, available parameters, etc.

.google.dataflow.v1beta3.TemplateMetadata metadata = 2;

Returns
Type Description
TemplateMetadata

The metadata.

getMetadataBuilder()

public TemplateMetadata.Builder getMetadataBuilder()

The template metadata describing the template name, available parameters, etc.

.google.dataflow.v1beta3.TemplateMetadata metadata = 2;

Returns
Type Description
TemplateMetadata.Builder

getMetadataOrBuilder()

public TemplateMetadataOrBuilder getMetadataOrBuilder()

The template metadata describing the template name, available parameters, etc.

.google.dataflow.v1beta3.TemplateMetadata metadata = 2;

Returns
Type Description
TemplateMetadataOrBuilder

getRuntimeMetadata()

public RuntimeMetadata getRuntimeMetadata()

Describes the runtime metadata with SDKInfo and available parameters.

.google.dataflow.v1beta3.RuntimeMetadata runtime_metadata = 4;

Returns
Type Description
RuntimeMetadata

The runtimeMetadata.

getRuntimeMetadataBuilder()

public RuntimeMetadata.Builder getRuntimeMetadataBuilder()

Describes the runtime metadata with SDKInfo and available parameters.

.google.dataflow.v1beta3.RuntimeMetadata runtime_metadata = 4;

Returns
Type Description
RuntimeMetadata.Builder

getRuntimeMetadataOrBuilder()

public RuntimeMetadataOrBuilder getRuntimeMetadataOrBuilder()

Describes the runtime metadata with SDKInfo and available parameters.

.google.dataflow.v1beta3.RuntimeMetadata runtime_metadata = 4;

Returns
Type Description
RuntimeMetadataOrBuilder

getStatus()

public Status getStatus()

The status of the get template request. Any problems with the request will be indicated in the error_details.

.google.rpc.Status status = 1;

Returns
Type Description
com.google.rpc.Status

The status.

getStatusBuilder()

public Status.Builder getStatusBuilder()

The status of the get template request. Any problems with the request will be indicated in the error_details.

.google.rpc.Status status = 1;

Returns
Type Description
com.google.rpc.Status.Builder

getStatusOrBuilder()

public StatusOrBuilder getStatusOrBuilder()

The status of the get template request. Any problems with the request will be indicated in the error_details.

.google.rpc.Status status = 1;

Returns
Type Description
com.google.rpc.StatusOrBuilder

getTemplateType()

public GetTemplateResponse.TemplateType getTemplateType()

Template Type.

.google.dataflow.v1beta3.GetTemplateResponse.TemplateType template_type = 3;

Returns
Type Description
GetTemplateResponse.TemplateType

The templateType.

getTemplateTypeValue()

public int getTemplateTypeValue()

Template Type.

.google.dataflow.v1beta3.GetTemplateResponse.TemplateType template_type = 3;

Returns
Type Description
int

The enum numeric value on the wire for templateType.

hasMetadata()

public boolean hasMetadata()

The template metadata describing the template name, available parameters, etc.

.google.dataflow.v1beta3.TemplateMetadata metadata = 2;

Returns
Type Description
boolean

Whether the metadata field is set.

hasRuntimeMetadata()

public boolean hasRuntimeMetadata()

Describes the runtime metadata with SDKInfo and available parameters.

.google.dataflow.v1beta3.RuntimeMetadata runtime_metadata = 4;

Returns
Type Description
boolean

Whether the runtimeMetadata field is set.

hasStatus()

public boolean hasStatus()

The status of the get template request. Any problems with the request will be indicated in the error_details.

.google.rpc.Status status = 1;

Returns
Type Description
boolean

Whether the status field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetTemplateResponse other)

public GetTemplateResponse.Builder mergeFrom(GetTemplateResponse other)
Parameter
Name Description
other GetTemplateResponse
Returns
Type Description
GetTemplateResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetTemplateResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetTemplateResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GetTemplateResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GetTemplateResponse.Builder
Overrides

mergeMetadata(TemplateMetadata value)

public GetTemplateResponse.Builder mergeMetadata(TemplateMetadata value)

The template metadata describing the template name, available parameters, etc.

.google.dataflow.v1beta3.TemplateMetadata metadata = 2;

Parameter
Name Description
value TemplateMetadata
Returns
Type Description
GetTemplateResponse.Builder

mergeRuntimeMetadata(RuntimeMetadata value)

public GetTemplateResponse.Builder mergeRuntimeMetadata(RuntimeMetadata value)

Describes the runtime metadata with SDKInfo and available parameters.

.google.dataflow.v1beta3.RuntimeMetadata runtime_metadata = 4;

Parameter
Name Description
value RuntimeMetadata
Returns
Type Description
GetTemplateResponse.Builder

mergeStatus(Status value)

public GetTemplateResponse.Builder mergeStatus(Status value)

The status of the get template request. Any problems with the request will be indicated in the error_details.

.google.rpc.Status status = 1;

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
GetTemplateResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetTemplateResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetTemplateResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetTemplateResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetTemplateResponse.Builder
Overrides

setMetadata(TemplateMetadata value)

public GetTemplateResponse.Builder setMetadata(TemplateMetadata value)

The template metadata describing the template name, available parameters, etc.

.google.dataflow.v1beta3.TemplateMetadata metadata = 2;

Parameter
Name Description
value TemplateMetadata
Returns
Type Description
GetTemplateResponse.Builder

setMetadata(TemplateMetadata.Builder builderForValue)

public GetTemplateResponse.Builder setMetadata(TemplateMetadata.Builder builderForValue)

The template metadata describing the template name, available parameters, etc.

.google.dataflow.v1beta3.TemplateMetadata metadata = 2;

Parameter
Name Description
builderForValue TemplateMetadata.Builder
Returns
Type Description
GetTemplateResponse.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GetTemplateResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GetTemplateResponse.Builder
Overrides

setRuntimeMetadata(RuntimeMetadata value)

public GetTemplateResponse.Builder setRuntimeMetadata(RuntimeMetadata value)

Describes the runtime metadata with SDKInfo and available parameters.

.google.dataflow.v1beta3.RuntimeMetadata runtime_metadata = 4;

Parameter
Name Description
value RuntimeMetadata
Returns
Type Description
GetTemplateResponse.Builder

setRuntimeMetadata(RuntimeMetadata.Builder builderForValue)

public GetTemplateResponse.Builder setRuntimeMetadata(RuntimeMetadata.Builder builderForValue)

Describes the runtime metadata with SDKInfo and available parameters.

.google.dataflow.v1beta3.RuntimeMetadata runtime_metadata = 4;

Parameter
Name Description
builderForValue RuntimeMetadata.Builder
Returns
Type Description
GetTemplateResponse.Builder

setStatus(Status value)

public GetTemplateResponse.Builder setStatus(Status value)

The status of the get template request. Any problems with the request will be indicated in the error_details.

.google.rpc.Status status = 1;

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
GetTemplateResponse.Builder

setStatus(Status.Builder builderForValue)

public GetTemplateResponse.Builder setStatus(Status.Builder builderForValue)

The status of the get template request. Any problems with the request will be indicated in the error_details.

.google.rpc.Status status = 1;

Parameter
Name Description
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
GetTemplateResponse.Builder

setTemplateType(GetTemplateResponse.TemplateType value)

public GetTemplateResponse.Builder setTemplateType(GetTemplateResponse.TemplateType value)

Template Type.

.google.dataflow.v1beta3.GetTemplateResponse.TemplateType template_type = 3;

Parameter
Name Description
value GetTemplateResponse.TemplateType

The templateType to set.

Returns
Type Description
GetTemplateResponse.Builder

This builder for chaining.

setTemplateTypeValue(int value)

public GetTemplateResponse.Builder setTemplateTypeValue(int value)

Template Type.

.google.dataflow.v1beta3.GetTemplateResponse.TemplateType template_type = 3;

Parameter
Name Description
value int

The enum numeric value on the wire for templateType to set.

Returns
Type Description
GetTemplateResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final GetTemplateResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetTemplateResponse.Builder
Overrides