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.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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Subject.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public Subject buildPartial()
Returns
clear()
public Subject.Builder clear()
Returns
Overrides
clearDigest()
public Subject.Builder clearDigest()
Returns
clearField(Descriptors.FieldDescriptor field)
public Subject.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearName()
public Subject.Builder clearName()
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public Subject.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public Subject.Builder clone()
Returns
Overrides
containsDigest(String key)
public boolean containsDigest(String key)
Parameter
Returns
getDefaultInstanceForType()
public Subject getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getDigest()
public Map<String,String> getDigest()
Returns
getDigestCount()
public int getDigestCount()
Returns
getDigestMap()
public Map<String,String> getDigestMap()
Returns
getDigestOrDefault(String key, String defaultValue)
public String getDigestOrDefault(String key, String defaultValue)
Parameters
Returns
getDigestOrThrow(String key)
public String getDigestOrThrow(String key)
Parameter
Returns
getMutableDigest()
public Map<String,String> getMutableDigest()
Use alternate mutation accessors instead.
Returns
getName()
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public Subject.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Subject.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(Subject other)
public Subject.Builder mergeFrom(Subject other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Subject.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
putAllDigest(Map<String,String> values)
public Subject.Builder putAllDigest(Map<String,String> values)
Parameter
Returns
putDigest(String key, String value)
public Subject.Builder putDigest(String key, String value)
Parameters
Returns
removeDigest(String key)
public Subject.Builder removeDigest(String key)
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Subject.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setName(String value)
public Subject.Builder setName(String value)
Parameter
Name | Description |
value | String
The name to set.
|
Returns
setNameBytes(ByteString value)
public Subject.Builder setNameBytes(ByteString value)
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Subject.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Subject.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides