Class CreateReportRequest (0.13.0)

public final class CreateReportRequest extends GeneratedMessageV3 implements CreateReportRequestOrBuilder

Request object for CreateReport method.

Protobuf type google.ads.admanager.v1.CreateReportRequest

Static Fields

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

REPORT_FIELD_NUMBER

public static final int REPORT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CreateReportRequest getDefaultInstance()
Returns
Type Description
CreateReportRequest

getDescriptor()

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

newBuilder()

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

newBuilder(CreateReportRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public CreateReportRequest getDefaultInstanceForType()
Returns
Type Description
CreateReportRequest

getParent()

public String getParent()

Required. The parent resource where this Report will be created. Format: networks/{network_code}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource where this Report will be created. Format: networks/{network_code}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getParserForType()

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

getReport()

public Report getReport()

Required. The Report to create.

.google.ads.admanager.v1.Report report = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Report

The report.

getReportOrBuilder()

public ReportOrBuilder getReportOrBuilder()

Required. The Report to create.

.google.ads.admanager.v1.Report report = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReportOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasReport()

public boolean hasReport()

Required. The Report to create.

.google.ads.admanager.v1.Report report = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the report field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CreateReportRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CreateReportRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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