public static final class UnitTypeEnum.Builder extends GeneratedMessageV3.Builder<UnitTypeEnum.Builder> implements UnitTypeEnumOrBuilder
Wrapper message for UnitType.
Protobuf type google.ads.admanager.v1.UnitTypeEnum
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UnitTypeEnum.BuilderImplements
UnitTypeEnumOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UnitTypeEnum.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
UnitTypeEnum.Builder |
build()
public UnitTypeEnum build()
Returns | |
---|---|
Type | Description |
UnitTypeEnum |
buildPartial()
public UnitTypeEnum buildPartial()
Returns | |
---|---|
Type | Description |
UnitTypeEnum |
clear()
public UnitTypeEnum.Builder clear()
Returns | |
---|---|
Type | Description |
UnitTypeEnum.Builder |
clearField(Descriptors.FieldDescriptor field)
public UnitTypeEnum.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
UnitTypeEnum.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public UnitTypeEnum.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
UnitTypeEnum.Builder |
clone()
public UnitTypeEnum.Builder clone()
Returns | |
---|---|
Type | Description |
UnitTypeEnum.Builder |
getDefaultInstanceForType()
public UnitTypeEnum getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
UnitTypeEnum |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(UnitTypeEnum other)
public UnitTypeEnum.Builder mergeFrom(UnitTypeEnum other)
Parameter | |
---|---|
Name | Description |
other |
UnitTypeEnum |
Returns | |
---|---|
Type | Description |
UnitTypeEnum.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UnitTypeEnum.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UnitTypeEnum.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public UnitTypeEnum.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
UnitTypeEnum.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UnitTypeEnum.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
UnitTypeEnum.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public UnitTypeEnum.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
UnitTypeEnum.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UnitTypeEnum.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
UnitTypeEnum.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final UnitTypeEnum.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
UnitTypeEnum.Builder |