public static final class ArtifactApi.PutArtifactRequest extends com.google.protobuf.GeneratedMessageV3 implements ArtifactApi.PutArtifactRequestOrBuilder
A request to stage an artifact.Protobuf type
org.apache.beam.runner_api.v1.PutArtifactRequest| Modifier and Type | Class and Description |
|---|---|
static class |
ArtifactApi.PutArtifactRequest.Builder
A request to stage an artifact.
|
static class |
ArtifactApi.PutArtifactRequest.ContentCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
DATA_FIELD_NUMBER |
static int |
METADATA_FIELD_NUMBER |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int METADATA_FIELD_NUMBER
public static final int DATA_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public ArtifactApi.PutArtifactRequest.ContentCase getContentCase()
getContentCase in interface ArtifactApi.PutArtifactRequestOrBuilderpublic ArtifactApi.ArtifactMetadata getMetadata()
The Artifact metadata. The first message in a PutArtifact call must contain the name of the artifact.
.org.apache.beam.runner_api.v1.ArtifactMetadata metadata = 1;getMetadata in interface ArtifactApi.PutArtifactRequestOrBuilderpublic ArtifactApi.ArtifactMetadataOrBuilder getMetadataOrBuilder()
The Artifact metadata. The first message in a PutArtifact call must contain the name of the artifact.
.org.apache.beam.runner_api.v1.ArtifactMetadata metadata = 1;getMetadataOrBuilder in interface ArtifactApi.PutArtifactRequestOrBuilderpublic ArtifactApi.ArtifactChunk getData()
A chunk of the artifact. All messages after the first in a PutArtifact call must contain a chunk.
.org.apache.beam.runner_api.v1.ArtifactChunk data = 2;getData in interface ArtifactApi.PutArtifactRequestOrBuilderpublic ArtifactApi.ArtifactChunkOrBuilder getDataOrBuilder()
A chunk of the artifact. All messages after the first in a PutArtifact call must contain a chunk.
.org.apache.beam.runner_api.v1.ArtifactChunk data = 2;getDataOrBuilder in interface ArtifactApi.PutArtifactRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ArtifactApi.PutArtifactRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ArtifactApi.PutArtifactRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ArtifactApi.PutArtifactRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ArtifactApi.PutArtifactRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ArtifactApi.PutArtifactRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static ArtifactApi.PutArtifactRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ArtifactApi.PutArtifactRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ArtifactApi.PutArtifactRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ArtifactApi.PutArtifactRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ArtifactApi.PutArtifactRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ArtifactApi.PutArtifactRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ArtifactApi.PutArtifactRequest.Builder newBuilder()
public static ArtifactApi.PutArtifactRequest.Builder newBuilder(ArtifactApi.PutArtifactRequest prototype)
public ArtifactApi.PutArtifactRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ArtifactApi.PutArtifactRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ArtifactApi.PutArtifactRequest getDefaultInstance()
public static com.google.protobuf.Parser<ArtifactApi.PutArtifactRequest> parser()
public com.google.protobuf.Parser<ArtifactApi.PutArtifactRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ArtifactApi.PutArtifactRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2016–2017 The Apache Software Foundation. All rights reserved.