Class GetTemplateResponse.Builder (0.39.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetTemplateResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetTemplateResponse.Builder
Overrides

build()

public GetTemplateResponse build()
Returns
TypeDescription
GetTemplateResponse

buildPartial()

public GetTemplateResponse buildPartial()
Returns
TypeDescription
GetTemplateResponse

clear()

public GetTemplateResponse.Builder clear()
Returns
TypeDescription
GetTemplateResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetTemplateResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
GetTemplateResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public GetTemplateResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
GetTemplateResponse.Builder

clearTemplateType()

public GetTemplateResponse.Builder clearTemplateType()

Template Type.

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

Returns
TypeDescription
GetTemplateResponse.Builder

This builder for chaining.

clone()

public GetTemplateResponse.Builder clone()
Returns
TypeDescription
GetTemplateResponse.Builder
Overrides

getDefaultInstanceForType()

public GetTemplateResponse getDefaultInstanceForType()
Returns
TypeDescription
GetTemplateResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMetadata()

public TemplateMetadata getMetadata()

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

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

Returns
TypeDescription
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
TypeDescription
TemplateMetadata.Builder

getMetadataOrBuilder()

public TemplateMetadataOrBuilder getMetadataOrBuilder()

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

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

Returns
TypeDescription
TemplateMetadataOrBuilder

getRuntimeMetadata()

public RuntimeMetadata getRuntimeMetadata()

Describes the runtime metadata with SDKInfo and available parameters.

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

Returns
TypeDescription
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
TypeDescription
RuntimeMetadata.Builder

getRuntimeMetadataOrBuilder()

public RuntimeMetadataOrBuilder getRuntimeMetadataOrBuilder()

Describes the runtime metadata with SDKInfo and available parameters.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
com.google.rpc.StatusOrBuilder

getTemplateType()

public GetTemplateResponse.TemplateType getTemplateType()

Template Type.

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

Returns
TypeDescription
GetTemplateResponse.TemplateType

The templateType.

getTemplateTypeValue()

public int getTemplateTypeValue()

Template Type.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the status field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetTemplateResponse other)

public GetTemplateResponse.Builder mergeFrom(GetTemplateResponse other)
Parameter
NameDescription
otherGetTemplateResponse
Returns
TypeDescription
GetTemplateResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetTemplateResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetTemplateResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GetTemplateResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTemplateMetadata
Returns
TypeDescription
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
NameDescription
valueRuntimeMetadata
Returns
TypeDescription
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
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
GetTemplateResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetTemplateResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetTemplateResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetTemplateResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueTemplateMetadata
Returns
TypeDescription
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
NameDescription
builderForValueTemplateMetadata.Builder
Returns
TypeDescription
GetTemplateResponse.Builder

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

public GetTemplateResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueRuntimeMetadata
Returns
TypeDescription
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
NameDescription
builderForValueRuntimeMetadata.Builder
Returns
TypeDescription
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
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
GetTemplateResponse.Builder

setTemplateType(GetTemplateResponse.TemplateType value)

public GetTemplateResponse.Builder setTemplateType(GetTemplateResponse.TemplateType value)

Template Type.

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

Parameter
NameDescription
valueGetTemplateResponse.TemplateType

The templateType to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
GetTemplateResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final GetTemplateResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetTemplateResponse.Builder
Overrides