Class GetTemplateResponse (0.47.0)

public final class GetTemplateResponse extends GeneratedMessageV3 implements GetTemplateResponseOrBuilder

The response to a GetTemplate request.

Protobuf type google.dataflow.v1beta3.GetTemplateResponse

Static Fields

METADATA_FIELD_NUMBER

public static final int METADATA_FIELD_NUMBER
Field Value
Type Description
int

RUNTIME_METADATA_FIELD_NUMBER

public static final int RUNTIME_METADATA_FIELD_NUMBER
Field Value
Type Description
int

STATUS_FIELD_NUMBER

public static final int STATUS_FIELD_NUMBER
Field Value
Type Description
int

TEMPLATE_TYPE_FIELD_NUMBER

public static final int TEMPLATE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GetTemplateResponse getDefaultInstance()
Returns
Type Description
GetTemplateResponse

getDescriptor()

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

newBuilder()

public static GetTemplateResponse.Builder newBuilder()
Returns
Type Description
GetTemplateResponse.Builder

newBuilder(GetTemplateResponse prototype)

public static GetTemplateResponse.Builder newBuilder(GetTemplateResponse prototype)
Parameter
Name Description
prototype GetTemplateResponse
Returns
Type Description
GetTemplateResponse.Builder

parseDelimitedFrom(InputStream input)

public static GetTemplateResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GetTemplateResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GetTemplateResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetTemplateResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GetTemplateResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GetTemplateResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GetTemplateResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetTemplateResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GetTemplateResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GetTemplateResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GetTemplateResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetTemplateResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GetTemplateResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GetTemplateResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GetTemplateResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetTemplateResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GetTemplateResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GetTemplateResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GetTemplateResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetTemplateResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GetTemplateResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GetTemplateResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GetTemplateResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetTemplateResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GetTemplateResponse> parser()
Returns
Type Description
Parser<GetTemplateResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public GetTemplateResponse getDefaultInstanceForType()
Returns
Type Description
GetTemplateResponse

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.

getMetadataOrBuilder()

public TemplateMetadataOrBuilder getMetadataOrBuilder()

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

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

Returns
Type Description
TemplateMetadataOrBuilder

getParserForType()

public Parser<GetTemplateResponse> getParserForType()
Returns
Type Description
Parser<GetTemplateResponse>
Overrides

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.

getRuntimeMetadataOrBuilder()

public RuntimeMetadataOrBuilder getRuntimeMetadataOrBuilder()

Describes the runtime metadata with SDKInfo and available parameters.

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

Returns
Type Description
RuntimeMetadataOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GetTemplateResponse.Builder newBuilderForType()
Returns
Type Description
GetTemplateResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GetTemplateResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GetTemplateResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public GetTemplateResponse.Builder toBuilder()
Returns
Type Description
GetTemplateResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException