public final class CustomFieldValue extends GeneratedMessageV3 implements CustomFieldValueOrBuilder
A value for a CustomField on a resource.
Protobuf type google.ads.admanager.v1.CustomFieldValue
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CUSTOM_FIELD_FIELD_NUMBER
public static final int CUSTOM_FIELD_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
VALUE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static CustomFieldValue getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static CustomFieldValue.Builder newBuilder()
newBuilder(CustomFieldValue prototype)
public static CustomFieldValue.Builder newBuilder(CustomFieldValue prototype)
public static CustomFieldValue parseDelimitedFrom(InputStream input)
public static CustomFieldValue parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static CustomFieldValue parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CustomFieldValue parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static CustomFieldValue parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CustomFieldValue parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CustomFieldValue parseFrom(CodedInputStream input)
public static CustomFieldValue parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomFieldValue parseFrom(InputStream input)
public static CustomFieldValue parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static CustomFieldValue parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CustomFieldValue parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<CustomFieldValue> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getCustomField()
public String getCustomField()
Required. The custom field for which this is a value.
Format: "networks/{network_code}/customFields/{custom_field_id}"
string custom_field = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The customField.
|
getCustomFieldBytes()
public ByteString getCustomFieldBytes()
Required. The custom field for which this is a value.
Format: "networks/{network_code}/customFields/{custom_field_id}"
string custom_field = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for customField.
|
getDefaultInstanceForType()
public CustomFieldValue getDefaultInstanceForType()
getParserForType()
public Parser<CustomFieldValue> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getValue()
public CustomFieldValue.Value getValue()
Required. A typed value representation of the value.
optional .google.ads.admanager.v1.CustomFieldValue.Value value = 2 [(.google.api.field_behavior) = REQUIRED];
getValueOrBuilder()
public CustomFieldValue.ValueOrBuilder getValueOrBuilder()
Required. A typed value representation of the value.
optional .google.ads.admanager.v1.CustomFieldValue.Value value = 2 [(.google.api.field_behavior) = REQUIRED];
hasValue()
public boolean hasValue()
Required. A typed value representation of the value.
optional .google.ads.admanager.v1.CustomFieldValue.Value value = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the value field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public CustomFieldValue.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CustomFieldValue.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public CustomFieldValue.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides