public static final class MobileDeviceSubmodel.Builder extends GeneratedMessageV3.Builder<MobileDeviceSubmodel.Builder> implements MobileDeviceSubmodelOrBuilderRepresents a mobile device submodel.
Protobuf type google.ads.admanager.v1.MobileDeviceSubmodel
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MobileDeviceSubmodel.BuilderImplements
MobileDeviceSubmodelOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MobileDeviceSubmodel.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
MobileDeviceSubmodel.Builder |
|
build()
public MobileDeviceSubmodel build()| Returns | |
|---|---|
| Type | Description |
MobileDeviceSubmodel |
|
buildPartial()
public MobileDeviceSubmodel buildPartial()| Returns | |
|---|---|
| Type | Description |
MobileDeviceSubmodel |
|
clear()
public MobileDeviceSubmodel.Builder clear()| Returns | |
|---|---|
| Type | Description |
MobileDeviceSubmodel.Builder |
|
clearDisplayName()
public MobileDeviceSubmodel.Builder clearDisplayName()Output only. The display name of the mobile device submodel.
optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
MobileDeviceSubmodel.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public MobileDeviceSubmodel.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
MobileDeviceSubmodel.Builder |
|
clearMobileDevice()
public MobileDeviceSubmodel.Builder clearMobileDevice() Output only. The mobile device associated with the submodel.
Format: networks/{network_code}/mobileDevices/{mobile_device}
optional string mobile_device = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
MobileDeviceSubmodel.Builder |
This builder for chaining. |
clearName()
public MobileDeviceSubmodel.Builder clearName() Identifier. The resource name of the MobileDeviceSubmodel.
Format:
networks/{network_code}/mobileDeviceSubmodels/{mobile_device_submodel}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
MobileDeviceSubmodel.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public MobileDeviceSubmodel.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
MobileDeviceSubmodel.Builder |
|
clone()
public MobileDeviceSubmodel.Builder clone()| Returns | |
|---|---|
| Type | Description |
MobileDeviceSubmodel.Builder |
|
getDefaultInstanceForType()
public MobileDeviceSubmodel getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
MobileDeviceSubmodel |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()Output only. The display name of the mobile device submodel.
optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()Output only. The display name of the mobile device submodel.
optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getMobileDevice()
public String getMobileDevice() Output only. The mobile device associated with the submodel.
Format: networks/{network_code}/mobileDevices/{mobile_device}
optional string mobile_device = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The mobileDevice. |
getMobileDeviceBytes()
public ByteString getMobileDeviceBytes() Output only. The mobile device associated with the submodel.
Format: networks/{network_code}/mobileDevices/{mobile_device}
optional string mobile_device = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for mobileDevice. |
getName()
public String getName() Identifier. The resource name of the MobileDeviceSubmodel.
Format:
networks/{network_code}/mobileDeviceSubmodels/{mobile_device_submodel}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Identifier. The resource name of the MobileDeviceSubmodel.
Format:
networks/{network_code}/mobileDeviceSubmodels/{mobile_device_submodel}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
hasDisplayName()
public boolean hasDisplayName()Output only. The display name of the mobile device submodel.
optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the displayName field is set. |
hasMobileDevice()
public boolean hasMobileDevice() Output only. The mobile device associated with the submodel.
Format: networks/{network_code}/mobileDevices/{mobile_device}
optional string mobile_device = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the mobileDevice field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(MobileDeviceSubmodel other)
public MobileDeviceSubmodel.Builder mergeFrom(MobileDeviceSubmodel other)| Parameter | |
|---|---|
| Name | Description |
other |
MobileDeviceSubmodel |
| Returns | |
|---|---|
| Type | Description |
MobileDeviceSubmodel.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MobileDeviceSubmodel.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MobileDeviceSubmodel.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public MobileDeviceSubmodel.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
MobileDeviceSubmodel.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MobileDeviceSubmodel.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
MobileDeviceSubmodel.Builder |
|
setDisplayName(String value)
public MobileDeviceSubmodel.Builder setDisplayName(String value)Output only. The display name of the mobile device submodel.
optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
MobileDeviceSubmodel.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public MobileDeviceSubmodel.Builder setDisplayNameBytes(ByteString value)Output only. The display name of the mobile device submodel.
optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
MobileDeviceSubmodel.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public MobileDeviceSubmodel.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
MobileDeviceSubmodel.Builder |
|
setMobileDevice(String value)
public MobileDeviceSubmodel.Builder setMobileDevice(String value) Output only. The mobile device associated with the submodel.
Format: networks/{network_code}/mobileDevices/{mobile_device}
optional string mobile_device = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe mobileDevice to set. |
| Returns | |
|---|---|
| Type | Description |
MobileDeviceSubmodel.Builder |
This builder for chaining. |
setMobileDeviceBytes(ByteString value)
public MobileDeviceSubmodel.Builder setMobileDeviceBytes(ByteString value) Output only. The mobile device associated with the submodel.
Format: networks/{network_code}/mobileDevices/{mobile_device}
optional string mobile_device = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for mobileDevice to set. |
| Returns | |
|---|---|
| Type | Description |
MobileDeviceSubmodel.Builder |
This builder for chaining. |
setName(String value)
public MobileDeviceSubmodel.Builder setName(String value) Identifier. The resource name of the MobileDeviceSubmodel.
Format:
networks/{network_code}/mobileDeviceSubmodels/{mobile_device_submodel}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
MobileDeviceSubmodel.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public MobileDeviceSubmodel.Builder setNameBytes(ByteString value) Identifier. The resource name of the MobileDeviceSubmodel.
Format:
networks/{network_code}/mobileDeviceSubmodels/{mobile_device_submodel}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
MobileDeviceSubmodel.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MobileDeviceSubmodel.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
MobileDeviceSubmodel.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final MobileDeviceSubmodel.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
MobileDeviceSubmodel.Builder |
|