public static final class CustomClass.ClassItem.Builder extends GeneratedMessageV3.Builder<CustomClass.ClassItem.Builder> implements CustomClass.ClassItemOrBuilder
An item of the class.
Protobuf type google.events.cloud.speech.v1.CustomClass.ClassItem
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 CustomClass.ClassItem.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CustomClass.ClassItem build()
buildPartial()
public CustomClass.ClassItem buildPartial()
clear()
public CustomClass.ClassItem.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CustomClass.ClassItem.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CustomClass.ClassItem.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearValue()
public CustomClass.ClassItem.Builder clearValue()
The class item's value.
string value = 1;
clone()
public CustomClass.ClassItem.Builder clone()
Overrides
getDefaultInstanceForType()
public CustomClass.ClassItem getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getValue()
The class item's value.
string value = 1;
Returns |
Type |
Description |
String |
The value.
|
getValueBytes()
public ByteString getValueBytes()
The class item's value.
string value = 1;
Returns |
Type |
Description |
ByteString |
The bytes for value.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CustomClass.ClassItem other)
public CustomClass.ClassItem.Builder mergeFrom(CustomClass.ClassItem other)
public CustomClass.ClassItem.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CustomClass.ClassItem.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CustomClass.ClassItem.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CustomClass.ClassItem.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CustomClass.ClassItem.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CustomClass.ClassItem.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setValue(String value)
public CustomClass.ClassItem.Builder setValue(String value)
The class item's value.
string value = 1;
Parameter |
Name |
Description |
value |
String
The value to set.
|
setValueBytes(ByteString value)
public CustomClass.ClassItem.Builder setValueBytes(ByteString value)
The class item's value.
string value = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for value to set.
|