public static final class Report.DateRange.Builder extends GeneratedMessageV3.Builder<Report.DateRange.Builder> implements Report.DateRangeOrBuilder
A date range for a report.
Protobuf type google.ads.admanager.v1.Report.DateRange
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Report.DateRange.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Report.DateRange build()
buildPartial()
public Report.DateRange buildPartial()
clear()
public Report.DateRange.Builder clear()
Overrides
clearDateRangeType()
public Report.DateRange.Builder clearDateRangeType()
clearField(Descriptors.FieldDescriptor field)
public Report.DateRange.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFixed()
public Report.DateRange.Builder clearFixed()
A fixed date range.
.google.ads.admanager.v1.Report.DateRange.FixedDateRange fixed = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public Report.DateRange.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRelative()
public Report.DateRange.Builder clearRelative()
A relative date range.
.google.ads.admanager.v1.Report.DateRange.RelativeDateRange relative = 2;
clone()
public Report.DateRange.Builder clone()
Overrides
getDateRangeTypeCase()
public Report.DateRange.DateRangeTypeCase getDateRangeTypeCase()
getDefaultInstanceForType()
public Report.DateRange getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFixed()
public Report.DateRange.FixedDateRange getFixed()
A fixed date range.
.google.ads.admanager.v1.Report.DateRange.FixedDateRange fixed = 1;
getFixedBuilder()
public Report.DateRange.FixedDateRange.Builder getFixedBuilder()
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;
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.
|
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFixed(Report.DateRange.FixedDateRange value)
public Report.DateRange.Builder mergeFixed(Report.DateRange.FixedDateRange value)
A fixed date range.
.google.ads.admanager.v1.Report.DateRange.FixedDateRange fixed = 1;
mergeFrom(Report.DateRange other)
public Report.DateRange.Builder mergeFrom(Report.DateRange other)
public Report.DateRange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Report.DateRange.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Report.DateRange.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Report.DateRange.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setFixed(Report.DateRange.FixedDateRange value)
public Report.DateRange.Builder setFixed(Report.DateRange.FixedDateRange value)
A fixed date range.
.google.ads.admanager.v1.Report.DateRange.FixedDateRange fixed = 1;
setFixed(Report.DateRange.FixedDateRange.Builder builderForValue)
public Report.DateRange.Builder setFixed(Report.DateRange.FixedDateRange.Builder builderForValue)
A fixed date range.
.google.ads.admanager.v1.Report.DateRange.FixedDateRange fixed = 1;
setRelative(Report.DateRange.RelativeDateRange value)
public Report.DateRange.Builder setRelative(Report.DateRange.RelativeDateRange value)
A relative date range.
.google.ads.admanager.v1.Report.DateRange.RelativeDateRange relative = 2;
setRelativeValue(int value)
public Report.DateRange.Builder setRelativeValue(int value)
A relative date range.
.google.ads.admanager.v1.Report.DateRange.RelativeDateRange relative = 2;
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for relative to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Report.DateRange.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Report.DateRange.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides