Class GetTemplateResponse (0.35.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
TypeDescription
int

RUNTIME_METADATA_FIELD_NUMBER

public static final int RUNTIME_METADATA_FIELD_NUMBER
Field Value
TypeDescription
int

STATUS_FIELD_NUMBER

public static final int STATUS_FIELD_NUMBER
Field Value
TypeDescription
int

TEMPLATE_TYPE_FIELD_NUMBER

public static final int TEMPLATE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GetTemplateResponse getDefaultInstance()
Returns
TypeDescription
GetTemplateResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static GetTemplateResponse.Builder newBuilder()
Returns
TypeDescription
GetTemplateResponse.Builder

newBuilder(GetTemplateResponse prototype)

public static GetTemplateResponse.Builder newBuilder(GetTemplateResponse prototype)
Parameter
NameDescription
prototypeGetTemplateResponse
Returns
TypeDescription
GetTemplateResponse.Builder

parseDelimitedFrom(InputStream input)

public static GetTemplateResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GetTemplateResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GetTemplateResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetTemplateResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static GetTemplateResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
GetTemplateResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GetTemplateResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetTemplateResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GetTemplateResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
GetTemplateResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GetTemplateResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetTemplateResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GetTemplateResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
GetTemplateResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GetTemplateResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetTemplateResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static GetTemplateResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GetTemplateResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GetTemplateResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetTemplateResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static GetTemplateResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
GetTemplateResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GetTemplateResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetTemplateResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<GetTemplateResponse> parser()
Returns
TypeDescription
Parser<GetTemplateResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public GetTemplateResponse getDefaultInstanceForType()
Returns
TypeDescription
GetTemplateResponse

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.

getMetadataOrBuilder()

public TemplateMetadataOrBuilder getMetadataOrBuilder()

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

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

Returns
TypeDescription
TemplateMetadataOrBuilder

getParserForType()

public Parser<GetTemplateResponse> getParserForType()
Returns
TypeDescription
Parser<GetTemplateResponse>
Overrides

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.

getRuntimeMetadataOrBuilder()

public RuntimeMetadataOrBuilder getRuntimeMetadataOrBuilder()

Describes the runtime metadata with SDKInfo and available parameters.

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

Returns
TypeDescription
RuntimeMetadataOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public GetTemplateResponse.Builder newBuilderForType()
Returns
TypeDescription
GetTemplateResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GetTemplateResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
GetTemplateResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public GetTemplateResponse.Builder toBuilder()
Returns
TypeDescription
GetTemplateResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException