public static final class MobileCarrier.Builder extends GeneratedMessageV3.Builder<MobileCarrier.Builder> implements MobileCarrierOrBuilderRepresents a mobile carrier.
Protobuf type google.ads.admanager.v1.MobileCarrier
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MobileCarrier.BuilderImplements
MobileCarrierOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MobileCarrier.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
MobileCarrier.Builder |
|
build()
public MobileCarrier build()| Returns | |
|---|---|
| Type | Description |
MobileCarrier |
|
buildPartial()
public MobileCarrier buildPartial()| Returns | |
|---|---|
| Type | Description |
MobileCarrier |
|
clear()
public MobileCarrier.Builder clear()| Returns | |
|---|---|
| Type | Description |
MobileCarrier.Builder |
|
clearDisplayName()
public MobileCarrier.Builder clearDisplayName()Output only. The localized name of the mobile carrier.
optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
MobileCarrier.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public MobileCarrier.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
MobileCarrier.Builder |
|
clearName()
public MobileCarrier.Builder clearName() Identifier. The resource name of the MobileCarrier.
Format: networks/{network_code}/mobileCarriers/{mobile_carrier}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
MobileCarrier.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public MobileCarrier.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
MobileCarrier.Builder |
|
clearRegionCode()
public MobileCarrier.Builder clearRegionCode()Output only. The region code of the mobile carrier.
optional string region_code = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
MobileCarrier.Builder |
This builder for chaining. |
clone()
public MobileCarrier.Builder clone()| Returns | |
|---|---|
| Type | Description |
MobileCarrier.Builder |
|
getDefaultInstanceForType()
public MobileCarrier getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
MobileCarrier |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()Output only. The localized name of the mobile carrier.
optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()Output only. The localized name of the mobile carrier.
optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getName()
public String getName() Identifier. The resource name of the MobileCarrier.
Format: networks/{network_code}/mobileCarriers/{mobile_carrier}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Identifier. The resource name of the MobileCarrier.
Format: networks/{network_code}/mobileCarriers/{mobile_carrier}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getRegionCode()
public String getRegionCode()Output only. The region code of the mobile carrier.
optional string region_code = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The regionCode. |
getRegionCodeBytes()
public ByteString getRegionCodeBytes()Output only. The region code of the mobile carrier.
optional string region_code = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for regionCode. |
hasDisplayName()
public boolean hasDisplayName()Output only. The localized name of the mobile carrier.
optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the displayName field is set. |
hasRegionCode()
public boolean hasRegionCode()Output only. The region code of the mobile carrier.
optional string region_code = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the regionCode field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(MobileCarrier other)
public MobileCarrier.Builder mergeFrom(MobileCarrier other)| Parameter | |
|---|---|
| Name | Description |
other |
MobileCarrier |
| Returns | |
|---|---|
| Type | Description |
MobileCarrier.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MobileCarrier.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MobileCarrier.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public MobileCarrier.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
MobileCarrier.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MobileCarrier.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
MobileCarrier.Builder |
|
setDisplayName(String value)
public MobileCarrier.Builder setDisplayName(String value)Output only. The localized name of the mobile carrier.
optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
MobileCarrier.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public MobileCarrier.Builder setDisplayNameBytes(ByteString value)Output only. The localized name of the mobile carrier.
optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
MobileCarrier.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public MobileCarrier.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
MobileCarrier.Builder |
|
setName(String value)
public MobileCarrier.Builder setName(String value) Identifier. The resource name of the MobileCarrier.
Format: networks/{network_code}/mobileCarriers/{mobile_carrier}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
MobileCarrier.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public MobileCarrier.Builder setNameBytes(ByteString value) Identifier. The resource name of the MobileCarrier.
Format: networks/{network_code}/mobileCarriers/{mobile_carrier}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
MobileCarrier.Builder |
This builder for chaining. |
setRegionCode(String value)
public MobileCarrier.Builder setRegionCode(String value)Output only. The region code of the mobile carrier.
optional string region_code = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe regionCode to set. |
| Returns | |
|---|---|
| Type | Description |
MobileCarrier.Builder |
This builder for chaining. |
setRegionCodeBytes(ByteString value)
public MobileCarrier.Builder setRegionCodeBytes(ByteString value)Output only. The region code of the mobile carrier.
optional string region_code = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for regionCode to set. |
| Returns | |
|---|---|
| Type | Description |
MobileCarrier.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MobileCarrier.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
MobileCarrier.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final MobileCarrier.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
MobileCarrier.Builder |
|