public static final class ArtifactApi.ArtifactMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ArtifactApi.ArtifactMetadata.Builder> implements ArtifactApi.ArtifactMetadataOrBuilder
An artifact identifier and associated metadata.Protobuf type
org.apache.beam.runner_api.v1.ArtifactMetadata| Modifier and Type | Method and Description |
|---|---|
ArtifactApi.ArtifactMetadata.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ArtifactApi.ArtifactMetadata |
build() |
ArtifactApi.ArtifactMetadata |
buildPartial() |
ArtifactApi.ArtifactMetadata.Builder |
clear() |
ArtifactApi.ArtifactMetadata.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ArtifactApi.ArtifactMetadata.Builder |
clearMd5()
(Optional) The base64-encoded md5 checksum of the artifact.
|
ArtifactApi.ArtifactMetadata.Builder |
clearName()
(Required) The name of the artifact.
|
ArtifactApi.ArtifactMetadata.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ArtifactApi.ArtifactMetadata.Builder |
clearPermissions()
(Optional) The Unix-like permissions of the artifact
|
ArtifactApi.ArtifactMetadata.Builder |
clone() |
ArtifactApi.ArtifactMetadata |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getMd5()
(Optional) The base64-encoded md5 checksum of the artifact.
|
com.google.protobuf.ByteString |
getMd5Bytes()
(Optional) The base64-encoded md5 checksum of the artifact.
|
String |
getName()
(Required) The name of the artifact.
|
com.google.protobuf.ByteString |
getNameBytes()
(Required) The name of the artifact.
|
int |
getPermissions()
(Optional) The Unix-like permissions of the artifact
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ArtifactApi.ArtifactMetadata.Builder |
mergeFrom(ArtifactApi.ArtifactMetadata other) |
ArtifactApi.ArtifactMetadata.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ArtifactApi.ArtifactMetadata.Builder |
mergeFrom(com.google.protobuf.Message other) |
ArtifactApi.ArtifactMetadata.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ArtifactApi.ArtifactMetadata.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ArtifactApi.ArtifactMetadata.Builder |
setMd5(String value)
(Optional) The base64-encoded md5 checksum of the artifact.
|
ArtifactApi.ArtifactMetadata.Builder |
setMd5Bytes(com.google.protobuf.ByteString value)
(Optional) The base64-encoded md5 checksum of the artifact.
|
ArtifactApi.ArtifactMetadata.Builder |
setName(String value)
(Required) The name of the artifact.
|
ArtifactApi.ArtifactMetadata.Builder |
setNameBytes(com.google.protobuf.ByteString value)
(Required) The name of the artifact.
|
ArtifactApi.ArtifactMetadata.Builder |
setPermissions(int value)
(Optional) The Unix-like permissions of the artifact
|
ArtifactApi.ArtifactMetadata.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ArtifactApi.ArtifactMetadata.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ArtifactApi.ArtifactMetadata.Builder>public ArtifactApi.ArtifactMetadata.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ArtifactApi.ArtifactMetadata.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ArtifactApi.ArtifactMetadata.Builder>public ArtifactApi.ArtifactMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ArtifactApi.ArtifactMetadata build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ArtifactApi.ArtifactMetadata buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ArtifactApi.ArtifactMetadata.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ArtifactApi.ArtifactMetadata.Builder>public ArtifactApi.ArtifactMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ArtifactApi.ArtifactMetadata.Builder>public ArtifactApi.ArtifactMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ArtifactApi.ArtifactMetadata.Builder>public ArtifactApi.ArtifactMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ArtifactApi.ArtifactMetadata.Builder>public ArtifactApi.ArtifactMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ArtifactApi.ArtifactMetadata.Builder>public ArtifactApi.ArtifactMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ArtifactApi.ArtifactMetadata.Builder>public ArtifactApi.ArtifactMetadata.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ArtifactApi.ArtifactMetadata.Builder>public ArtifactApi.ArtifactMetadata.Builder mergeFrom(ArtifactApi.ArtifactMetadata other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ArtifactApi.ArtifactMetadata.Builder>public ArtifactApi.ArtifactMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ArtifactApi.ArtifactMetadata.Builder>IOExceptionpublic String getName()
(Required) The name of the artifact.
string name = 1;getName in interface ArtifactApi.ArtifactMetadataOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
(Required) The name of the artifact.
string name = 1;getNameBytes in interface ArtifactApi.ArtifactMetadataOrBuilderpublic ArtifactApi.ArtifactMetadata.Builder setName(String value)
(Required) The name of the artifact.
string name = 1;public ArtifactApi.ArtifactMetadata.Builder clearName()
(Required) The name of the artifact.
string name = 1;public ArtifactApi.ArtifactMetadata.Builder setNameBytes(com.google.protobuf.ByteString value)
(Required) The name of the artifact.
string name = 1;public int getPermissions()
(Optional) The Unix-like permissions of the artifact
uint32 permissions = 2;getPermissions in interface ArtifactApi.ArtifactMetadataOrBuilderpublic ArtifactApi.ArtifactMetadata.Builder setPermissions(int value)
(Optional) The Unix-like permissions of the artifact
uint32 permissions = 2;public ArtifactApi.ArtifactMetadata.Builder clearPermissions()
(Optional) The Unix-like permissions of the artifact
uint32 permissions = 2;public String getMd5()
(Optional) The base64-encoded md5 checksum of the artifact. Used, among other things, by harness boot code to validate the integrity of the artifact.
string md5 = 3;getMd5 in interface ArtifactApi.ArtifactMetadataOrBuilderpublic com.google.protobuf.ByteString getMd5Bytes()
(Optional) The base64-encoded md5 checksum of the artifact. Used, among other things, by harness boot code to validate the integrity of the artifact.
string md5 = 3;getMd5Bytes in interface ArtifactApi.ArtifactMetadataOrBuilderpublic ArtifactApi.ArtifactMetadata.Builder setMd5(String value)
(Optional) The base64-encoded md5 checksum of the artifact. Used, among other things, by harness boot code to validate the integrity of the artifact.
string md5 = 3;public ArtifactApi.ArtifactMetadata.Builder clearMd5()
(Optional) The base64-encoded md5 checksum of the artifact. Used, among other things, by harness boot code to validate the integrity of the artifact.
string md5 = 3;public ArtifactApi.ArtifactMetadata.Builder setMd5Bytes(com.google.protobuf.ByteString value)
(Optional) The base64-encoded md5 checksum of the artifact. Used, among other things, by harness boot code to validate the integrity of the artifact.
string md5 = 3;public final ArtifactApi.ArtifactMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ArtifactApi.ArtifactMetadata.Builder>public final ArtifactApi.ArtifactMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ArtifactApi.ArtifactMetadata.Builder>Copyright © 2016–2017 The Apache Software Foundation. All rights reserved.