public static final class ReportDefinition.DateRange extends GeneratedMessage implements ReportDefinition.DateRangeOrBuilderA date range for a report.
Protobuf type google.ads.admanager.v1.ReportDefinition.DateRange
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ReportDefinition.DateRangeImplements
ReportDefinition.DateRangeOrBuilderStatic Fields
FIXED_FIELD_NUMBER
public static final int FIXED_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
RELATIVE_FIELD_NUMBER
public static final int RELATIVE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static ReportDefinition.DateRange getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
ReportDefinition.DateRange |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static ReportDefinition.DateRange.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
ReportDefinition.DateRange.Builder |
|
newBuilder(ReportDefinition.DateRange prototype)
public static ReportDefinition.DateRange.Builder newBuilder(ReportDefinition.DateRange prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
ReportDefinition.DateRange |
| Returns | |
|---|---|
| Type | Description |
ReportDefinition.DateRange.Builder |
|
parseDelimitedFrom(InputStream input)
public static ReportDefinition.DateRange parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ReportDefinition.DateRange |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ReportDefinition.DateRange parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ReportDefinition.DateRange |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static ReportDefinition.DateRange parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
ReportDefinition.DateRange |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ReportDefinition.DateRange parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ReportDefinition.DateRange |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static ReportDefinition.DateRange parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
ReportDefinition.DateRange |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReportDefinition.DateRange parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ReportDefinition.DateRange |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static ReportDefinition.DateRange parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
ReportDefinition.DateRange |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ReportDefinition.DateRange parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ReportDefinition.DateRange |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static ReportDefinition.DateRange parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ReportDefinition.DateRange |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ReportDefinition.DateRange parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ReportDefinition.DateRange |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static ReportDefinition.DateRange parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
ReportDefinition.DateRange |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ReportDefinition.DateRange parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ReportDefinition.DateRange |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<ReportDefinition.DateRange> parser()| Returns | |
|---|---|
| Type | Description |
Parser<DateRange> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDateRangeTypeCase()
public ReportDefinition.DateRange.DateRangeTypeCase getDateRangeTypeCase()| Returns | |
|---|---|
| Type | Description |
ReportDefinition.DateRange.DateRangeTypeCase |
|
getDefaultInstanceForType()
public ReportDefinition.DateRange getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ReportDefinition.DateRange |
|
getFixed()
public ReportDefinition.DateRange.FixedDateRange getFixed()A fixed date range.
.google.ads.admanager.v1.ReportDefinition.DateRange.FixedDateRange fixed = 1;
| Returns | |
|---|---|
| Type | Description |
ReportDefinition.DateRange.FixedDateRange |
The fixed. |
getFixedOrBuilder()
public ReportDefinition.DateRange.FixedDateRangeOrBuilder getFixedOrBuilder()A fixed date range.
.google.ads.admanager.v1.ReportDefinition.DateRange.FixedDateRange fixed = 1;
| Returns | |
|---|---|
| Type | Description |
ReportDefinition.DateRange.FixedDateRangeOrBuilder |
|
getParserForType()
public Parser<ReportDefinition.DateRange> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<DateRange> |
|
getRelative()
public ReportDefinition.DateRange.RelativeDateRange getRelative()A relative date range.
.google.ads.admanager.v1.ReportDefinition.DateRange.RelativeDateRange relative = 2;
| Returns | |
|---|---|
| Type | Description |
ReportDefinition.DateRange.RelativeDateRange |
The relative. |
getRelativeValue()
public int getRelativeValue()A relative date range.
.google.ads.admanager.v1.ReportDefinition.DateRange.RelativeDateRange relative = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for relative. |
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hasFixed()
public boolean hasFixed()A fixed date range.
.google.ads.admanager.v1.ReportDefinition.DateRange.FixedDateRange fixed = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the fixed field is set. |
hasRelative()
public boolean hasRelative()A relative date range.
.google.ads.admanager.v1.ReportDefinition.DateRange.RelativeDateRange relative = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the relative field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public ReportDefinition.DateRange.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
ReportDefinition.DateRange.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ReportDefinition.DateRange.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
ReportDefinition.DateRange.Builder |
|
toBuilder()
public ReportDefinition.DateRange.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
ReportDefinition.DateRange.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|