Class FieldWarning (0.20.0)

public final class FieldWarning extends GeneratedMessage implements FieldWarningOrBuilder

Detailed row-level warning with field paths.

Protobuf type google.ads.datamanager.v1.FieldWarning

Static Fields

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

FIELD_FIELD_NUMBER

public static final int FIELD_FIELD_NUMBER
Field Value
Type Description
int

REASON_FIELD_NUMBER

public static final int REASON_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FieldWarning getDefaultInstance()
Returns
Type Description
FieldWarning

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static FieldWarning.Builder newBuilder()
Returns
Type Description
FieldWarning.Builder

newBuilder(FieldWarning prototype)

public static FieldWarning.Builder newBuilder(FieldWarning prototype)
Parameter
Name Description
prototype FieldWarning
Returns
Type Description
FieldWarning.Builder

parseDelimitedFrom(InputStream input)

public static FieldWarning parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FieldWarning
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FieldWarning parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FieldWarning
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static FieldWarning parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
FieldWarning
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FieldWarning parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FieldWarning
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FieldWarning parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FieldWarning
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FieldWarning parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FieldWarning
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FieldWarning parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FieldWarning
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FieldWarning parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FieldWarning
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static FieldWarning parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FieldWarning
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FieldWarning parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FieldWarning
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static FieldWarning parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FieldWarning
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FieldWarning parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FieldWarning
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<FieldWarning> parser()
Returns
Type Description
Parser<FieldWarning>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public FieldWarning getDefaultInstanceForType()
Returns
Type Description
FieldWarning

getDescription()

public String getDescription()

The detailed warning message describing the issue.

string description = 2;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

The detailed warning message describing the issue.

string description = 2;

Returns
Type Description
ByteString

The bytes for description.

getField()

public String getField()

The field path that triggered the warning. Uses the same format as google.rpc.BadRequest.FieldViolation.field.

string field = 3;

Returns
Type Description
String

The field.

getFieldBytes()

public ByteString getFieldBytes()

The field path that triggered the warning. Uses the same format as google.rpc.BadRequest.FieldViolation.field.

string field = 3;

Returns
Type Description
ByteString

The bytes for field.

getParserForType()

public Parser<FieldWarning> getParserForType()
Returns
Type Description
Parser<FieldWarning>
Overrides

getReason()

public WarningReason getReason()

The warning reason.

.google.ads.datamanager.v1.WarningReason reason = 1;

Returns
Type Description
WarningReason

The reason.

getReasonValue()

public int getReasonValue()

The warning reason.

.google.ads.datamanager.v1.WarningReason reason = 1;

Returns
Type Description
int

The enum numeric value on the wire for reason.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public FieldWarning.Builder newBuilderForType()
Returns
Type Description
FieldWarning.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected FieldWarning.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FieldWarning.Builder
Overrides

toBuilder()

public FieldWarning.Builder toBuilder()
Returns
Type Description
FieldWarning.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException