public static final class YieldPartnerSettings.YieldParameter.Builder extends GeneratedMessage.Builder<YieldPartnerSettings.YieldParameter.Builder> implements YieldPartnerSettings.YieldParameterOrBuilder Describes a field used by a mobile adapter to call an ad network. For
example, pubid.
Protobuf type google.ads.admanager.v1.YieldPartnerSettings.YieldParameter
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > YieldPartnerSettings.YieldParameter.BuilderImplements
YieldPartnerSettings.YieldParameterOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public YieldPartnerSettings.YieldParameter build()| Returns | |
|---|---|
| Type | Description |
YieldPartnerSettings.YieldParameter |
|
buildPartial()
public YieldPartnerSettings.YieldParameter buildPartial()| Returns | |
|---|---|
| Type | Description |
YieldPartnerSettings.YieldParameter |
|
clear()
public YieldPartnerSettings.YieldParameter.Builder clear()| Returns | |
|---|---|
| Type | Description |
YieldPartnerSettings.YieldParameter.Builder |
|
clearKey()
public YieldPartnerSettings.YieldParameter.Builder clearKey()Output only. Identifier of the parameter.
optional string key = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
YieldPartnerSettings.YieldParameter.Builder |
This builder for chaining. |
clearOptional()
public YieldPartnerSettings.YieldParameter.Builder clearOptional()Output only. Whether or not this parameter is optional.
optional bool optional = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
YieldPartnerSettings.YieldParameter.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public YieldPartnerSettings.YieldParameter getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
YieldPartnerSettings.YieldParameter |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getKey()
public String getKey()Output only. Identifier of the parameter.
optional string key = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The key. |
getKeyBytes()
public ByteString getKeyBytes()Output only. Identifier of the parameter.
optional string key = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for key. |
getOptional()
public boolean getOptional()Output only. Whether or not this parameter is optional.
optional bool optional = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The optional. |
hasKey()
public boolean hasKey()Output only. Identifier of the parameter.
optional string key = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the key field is set. |
hasOptional()
public boolean hasOptional()Output only. Whether or not this parameter is optional.
optional bool optional = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the optional field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(YieldPartnerSettings.YieldParameter other)
public YieldPartnerSettings.YieldParameter.Builder mergeFrom(YieldPartnerSettings.YieldParameter other)| Parameter | |
|---|---|
| Name | Description |
other |
YieldPartnerSettings.YieldParameter |
| Returns | |
|---|---|
| Type | Description |
YieldPartnerSettings.YieldParameter.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public YieldPartnerSettings.YieldParameter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
YieldPartnerSettings.YieldParameter.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public YieldPartnerSettings.YieldParameter.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
YieldPartnerSettings.YieldParameter.Builder |
|
setKey(String value)
public YieldPartnerSettings.YieldParameter.Builder setKey(String value)Output only. Identifier of the parameter.
optional string key = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe key to set. |
| Returns | |
|---|---|
| Type | Description |
YieldPartnerSettings.YieldParameter.Builder |
This builder for chaining. |
setKeyBytes(ByteString value)
public YieldPartnerSettings.YieldParameter.Builder setKeyBytes(ByteString value)Output only. Identifier of the parameter.
optional string key = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for key to set. |
| Returns | |
|---|---|
| Type | Description |
YieldPartnerSettings.YieldParameter.Builder |
This builder for chaining. |
setOptional(boolean value)
public YieldPartnerSettings.YieldParameter.Builder setOptional(boolean value)Output only. Whether or not this parameter is optional.
optional bool optional = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe optional to set. |
| Returns | |
|---|---|
| Type | Description |
YieldPartnerSettings.YieldParameter.Builder |
This builder for chaining. |