Class BatchCreateAdRulesResponse (0.54.0)

public final class BatchCreateAdRulesResponse extends GeneratedMessage implements BatchCreateAdRulesResponseOrBuilder

Response object for BatchCreateAdRules method.

Protobuf type google.ads.admanager.v1.BatchCreateAdRulesResponse

Static Fields

AD_RULES_FIELD_NUMBER

public static final int AD_RULES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BatchCreateAdRulesResponse getDefaultInstance()
Returns
Type Description
BatchCreateAdRulesResponse

getDescriptor()

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

newBuilder()

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

newBuilder(BatchCreateAdRulesResponse prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAdRules(int index)

public AdRule getAdRules(int index)

The AdRule objects created.

repeated .google.ads.admanager.v1.AdRule ad_rules = 1;

Parameter
Name Description
index int
Returns
Type Description
AdRule

getAdRulesCount()

public int getAdRulesCount()

The AdRule objects created.

repeated .google.ads.admanager.v1.AdRule ad_rules = 1;

Returns
Type Description
int

getAdRulesList()

public List<AdRule> getAdRulesList()

The AdRule objects created.

repeated .google.ads.admanager.v1.AdRule ad_rules = 1;

Returns
Type Description
List<AdRule>

getAdRulesOrBuilder(int index)

public AdRuleOrBuilder getAdRulesOrBuilder(int index)

The AdRule objects created.

repeated .google.ads.admanager.v1.AdRule ad_rules = 1;

Parameter
Name Description
index int
Returns
Type Description
AdRuleOrBuilder

getAdRulesOrBuilderList()

public List<? extends AdRuleOrBuilder> getAdRulesOrBuilderList()

The AdRule objects created.

repeated .google.ads.admanager.v1.AdRule ad_rules = 1;

Returns
Type Description
List<? extends com.google.ads.admanager.v1.AdRuleOrBuilder>

getDefaultInstanceForType()

public BatchCreateAdRulesResponse getDefaultInstanceForType()
Returns
Type Description
BatchCreateAdRulesResponse

getParserForType()

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

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 BatchCreateAdRulesResponse.Builder newBuilderForType()
Returns
Type Description
BatchCreateAdRulesResponse.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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