public static final class Subject.Builder extends GeneratedMessageV3.Builder<Subject.Builder> implements SubjectOrBuilder
Protobuf type grafeas.v1.Subject
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Subject.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public Subject buildPartial()
clear()
public Subject.Builder clear()
Overrides
clearDigest()
public Subject.Builder clearDigest()
clearField(Descriptors.FieldDescriptor field)
public Subject.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearName()
public Subject.Builder clearName()
clearOneof(Descriptors.OneofDescriptor oneof)
public Subject.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Subject.Builder clone()
Overrides
containsDigest(String key)
public boolean containsDigest(String key)
Parameter |
Name |
Description |
key |
String
|
getDefaultInstanceForType()
public Subject getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDigest() (deprecated)
public Map<String,String> getDigest()
getDigestCount()
public int getDigestCount()
Returns |
Type |
Description |
int |
|
getDigestMap()
public Map<String,String> getDigestMap()
getDigestOrDefault(String key, String defaultValue)
public String getDigestOrDefault(String key, String defaultValue)
Returns |
Type |
Description |
String |
|
getDigestOrThrow(String key)
public String getDigestOrThrow(String key)
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
String |
|
getMutableDigest() (deprecated)
public Map<String,String> getMutableDigest()
Use alternate mutation accessors instead.
getName()
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
public Subject.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Subject.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(Subject other)
public Subject.Builder mergeFrom(Subject other)
Parameter |
Name |
Description |
other |
Subject
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Subject.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
putAllDigest(Map<String,String> values)
public Subject.Builder putAllDigest(Map<String,String> values)
putDigest(String key, String value)
public Subject.Builder putDigest(String key, String value)
removeDigest(String key)
public Subject.Builder removeDigest(String key)
Parameter |
Name |
Description |
key |
String
|
setField(Descriptors.FieldDescriptor field, Object value)
public Subject.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setName(String value)
public Subject.Builder setName(String value)
Parameter |
Name |
Description |
value |
String
The name to set.
|
setNameBytes(ByteString value)
public Subject.Builder setNameBytes(ByteString value)
Parameter |
Name |
Description |
value |
ByteString
The bytes for name to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Subject.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Subject.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides