public static final class Report.DateRange extends GeneratedMessageV3 implements Report.DateRangeOrBuilder
A date range for a report.
Protobuf type google.ads.admanager.v1.Report.DateRange
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
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 Report.DateRange getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Report.DateRange.Builder newBuilder()
newBuilder(Report.DateRange prototype)
public static Report.DateRange.Builder newBuilder(Report.DateRange prototype)
public static Report.DateRange parseDelimitedFrom(InputStream input)
public static Report.DateRange parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Report.DateRange parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Report.DateRange parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Report.DateRange parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Report.DateRange parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Report.DateRange parseFrom(CodedInputStream input)
public static Report.DateRange parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Report.DateRange parseFrom(InputStream input)
public static Report.DateRange parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Report.DateRange parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Report.DateRange parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Report.DateRange> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDateRangeTypeCase()
public Report.DateRange.DateRangeTypeCase getDateRangeTypeCase()
getDefaultInstanceForType()
public Report.DateRange getDefaultInstanceForType()
getFixed()
public Report.DateRange.FixedDateRange getFixed()
A fixed date range.
.google.ads.admanager.v1.Report.DateRange.FixedDateRange fixed = 1;
getFixedOrBuilder()
public Report.DateRange.FixedDateRangeOrBuilder getFixedOrBuilder()
A fixed date range.
.google.ads.admanager.v1.Report.DateRange.FixedDateRange fixed = 1;
getParserForType()
public Parser<Report.DateRange> getParserForType()
Overrides
getRelative()
public Report.DateRange.RelativeDateRange getRelative()
A relative date range.
.google.ads.admanager.v1.Report.DateRange.RelativeDateRange relative = 2;
getRelativeValue()
public int getRelativeValue()
A relative date range.
.google.ads.admanager.v1.Report.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 |
|
Overrides
hasFixed()
public boolean hasFixed()
A fixed date range.
.google.ads.admanager.v1.Report.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.Report.DateRange.RelativeDateRange relative = 2;
Returns |
Type |
Description |
boolean |
Whether the relative field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Report.DateRange.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Report.DateRange.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Report.DateRange.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides