public static final class Str.ArtifactValue.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Str.ArtifactValue.Builder> implements Str.ArtifactValueOrBuilder
io.apicurio.registry.streams.proto.ArtifactValue
Modifier and Type | Method and Description |
---|---|
Str.ArtifactValue.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Str.ArtifactValue |
build() |
Str.ArtifactValue |
buildPartial() |
Str.ArtifactValue.Builder |
clear() |
Str.ArtifactValue.Builder |
clearArtifactType()
int32 artifactType = 1; |
Str.ArtifactValue.Builder |
clearContent()
bytes content = 3; |
Str.ArtifactValue.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Str.ArtifactValue.Builder |
clearId()
fixed64 id = 2; |
Str.ArtifactValue.Builder |
clearMetadata() |
Str.ArtifactValue.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Str.ArtifactValue.Builder |
clone() |
boolean |
containsMetadata(String key)
map<string, string> metadata = 4; |
int |
getArtifactType()
int32 artifactType = 1; |
com.google.protobuf.ByteString |
getContent()
bytes content = 3; |
Str.ArtifactValue |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getId()
fixed64 id = 2; |
Map<String,String> |
getMetadata()
Deprecated.
|
int |
getMetadataCount()
map<string, string> metadata = 4; |
Map<String,String> |
getMetadataMap()
map<string, string> metadata = 4; |
String |
getMetadataOrDefault(String key,
String defaultValue)
map<string, string> metadata = 4; |
String |
getMetadataOrThrow(String key)
map<string, string> metadata = 4; |
Map<String,String> |
getMutableMetadata()
Deprecated.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
Str.ArtifactValue.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Str.ArtifactValue.Builder |
mergeFrom(com.google.protobuf.Message other) |
Str.ArtifactValue.Builder |
mergeFrom(Str.ArtifactValue other) |
Str.ArtifactValue.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Str.ArtifactValue.Builder |
putAllMetadata(Map<String,String> values)
map<string, string> metadata = 4; |
Str.ArtifactValue.Builder |
putMetadata(String key,
String value)
map<string, string> metadata = 4; |
Str.ArtifactValue.Builder |
removeMetadata(String key)
map<string, string> metadata = 4; |
Str.ArtifactValue.Builder |
setArtifactType(int value)
int32 artifactType = 1; |
Str.ArtifactValue.Builder |
setContent(com.google.protobuf.ByteString value)
bytes content = 3; |
Str.ArtifactValue.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Str.ArtifactValue.Builder |
setId(long value)
fixed64 id = 2; |
Str.ArtifactValue.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Str.ArtifactValue.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField
in class com.google.protobuf.GeneratedMessageV3.Builder<Str.ArtifactValue.Builder>
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField
in class com.google.protobuf.GeneratedMessageV3.Builder<Str.ArtifactValue.Builder>
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<Str.ArtifactValue.Builder>
public Str.ArtifactValue.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Str.ArtifactValue.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Str.ArtifactValue.Builder>
public Str.ArtifactValue getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Str.ArtifactValue build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Str.ArtifactValue buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Str.ArtifactValue.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<Str.ArtifactValue.Builder>
public Str.ArtifactValue.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<Str.ArtifactValue.Builder>
public Str.ArtifactValue.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Str.ArtifactValue.Builder>
public Str.ArtifactValue.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Str.ArtifactValue.Builder>
public Str.ArtifactValue.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Str.ArtifactValue.Builder>
public Str.ArtifactValue.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Str.ArtifactValue.Builder>
public Str.ArtifactValue.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Str.ArtifactValue.Builder>
public Str.ArtifactValue.Builder mergeFrom(Str.ArtifactValue other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Str.ArtifactValue.Builder>
public Str.ArtifactValue.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Str.ArtifactValue.Builder>
IOException
public int getArtifactType()
int32 artifactType = 1;
getArtifactType
in interface Str.ArtifactValueOrBuilder
public Str.ArtifactValue.Builder setArtifactType(int value)
int32 artifactType = 1;
public Str.ArtifactValue.Builder clearArtifactType()
int32 artifactType = 1;
public long getId()
fixed64 id = 2;
getId
in interface Str.ArtifactValueOrBuilder
public Str.ArtifactValue.Builder setId(long value)
fixed64 id = 2;
public Str.ArtifactValue.Builder clearId()
fixed64 id = 2;
public com.google.protobuf.ByteString getContent()
bytes content = 3;
getContent
in interface Str.ArtifactValueOrBuilder
public Str.ArtifactValue.Builder setContent(com.google.protobuf.ByteString value)
bytes content = 3;
public Str.ArtifactValue.Builder clearContent()
bytes content = 3;
public int getMetadataCount()
Str.ArtifactValueOrBuilder
map<string, string> metadata = 4;
getMetadataCount
in interface Str.ArtifactValueOrBuilder
public boolean containsMetadata(String key)
map<string, string> metadata = 4;
containsMetadata
in interface Str.ArtifactValueOrBuilder
@Deprecated public Map<String,String> getMetadata()
getMetadataMap()
instead.getMetadata
in interface Str.ArtifactValueOrBuilder
public Map<String,String> getMetadataMap()
map<string, string> metadata = 4;
getMetadataMap
in interface Str.ArtifactValueOrBuilder
public String getMetadataOrDefault(String key, String defaultValue)
map<string, string> metadata = 4;
getMetadataOrDefault
in interface Str.ArtifactValueOrBuilder
public String getMetadataOrThrow(String key)
map<string, string> metadata = 4;
getMetadataOrThrow
in interface Str.ArtifactValueOrBuilder
public Str.ArtifactValue.Builder clearMetadata()
public Str.ArtifactValue.Builder removeMetadata(String key)
map<string, string> metadata = 4;
@Deprecated public Map<String,String> getMutableMetadata()
public Str.ArtifactValue.Builder putMetadata(String key, String value)
map<string, string> metadata = 4;
public Str.ArtifactValue.Builder putAllMetadata(Map<String,String> values)
map<string, string> metadata = 4;
public final Str.ArtifactValue.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Str.ArtifactValue.Builder>
public final Str.ArtifactValue.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Str.ArtifactValue.Builder>
Copyright © 2019 Red Hat. All rights reserved.