public static final class Report.Flag.Builder extends GeneratedMessageV3.Builder<Report.Flag.Builder> implements Report.FlagOrBuilder
A flag for a report. Flags are used show if certain thresholds are met.
Result rows that match the filter will have the corresponding
MetricValueGroup.flagValues index set to true.
For more information about flags see:
https://support.google.com/admanager/answer/15079975
Protobuf type google.ads.admanager.v1.Report.Flag
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
addAllFilters(Iterable<? extends Report.Filter> values)
public Report.Flag.Builder addAllFilters(Iterable<? extends Report.Filter> values)
Required. Filters to apply for the flag.
repeated .google.ads.admanager.v1.Report.Filter filters = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.ads.admanager.v1.Report.Filter>
|
addFilters(Report.Filter value)
public Report.Flag.Builder addFilters(Report.Filter value)
Required. Filters to apply for the flag.
repeated .google.ads.admanager.v1.Report.Filter filters = 1 [(.google.api.field_behavior) = REQUIRED];
addFilters(Report.Filter.Builder builderForValue)
public Report.Flag.Builder addFilters(Report.Filter.Builder builderForValue)
Required. Filters to apply for the flag.
repeated .google.ads.admanager.v1.Report.Filter filters = 1 [(.google.api.field_behavior) = REQUIRED];
addFilters(int index, Report.Filter value)
public Report.Flag.Builder addFilters(int index, Report.Filter value)
Required. Filters to apply for the flag.
repeated .google.ads.admanager.v1.Report.Filter filters = 1 [(.google.api.field_behavior) = REQUIRED];
addFilters(int index, Report.Filter.Builder builderForValue)
public Report.Flag.Builder addFilters(int index, Report.Filter.Builder builderForValue)
Required. Filters to apply for the flag.
repeated .google.ads.admanager.v1.Report.Filter filters = 1 [(.google.api.field_behavior) = REQUIRED];
addFiltersBuilder()
public Report.Filter.Builder addFiltersBuilder()
Required. Filters to apply for the flag.
repeated .google.ads.admanager.v1.Report.Filter filters = 1 [(.google.api.field_behavior) = REQUIRED];
addFiltersBuilder(int index)
public Report.Filter.Builder addFiltersBuilder(int index)
Required. Filters to apply for the flag.
repeated .google.ads.admanager.v1.Report.Filter filters = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Report.Flag.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Report.Flag build()
buildPartial()
public Report.Flag buildPartial()
clear()
public Report.Flag.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Report.Flag.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFilters()
public Report.Flag.Builder clearFilters()
Required. Filters to apply for the flag.
repeated .google.ads.admanager.v1.Report.Filter filters = 1 [(.google.api.field_behavior) = REQUIRED];
clearName()
public Report.Flag.Builder clearName()
Optional. Name of the flag.
The flag names RED, YELLOW, GREEN, BLUE, PURPLE, and GREY correspond to
the colored flags that appear in the UI. The UI will not display flags
with other names, but they are available for use by API clients.
string name = 2 [(.google.api.field_behavior) = OPTIONAL];
clearOneof(Descriptors.OneofDescriptor oneof)
public Report.Flag.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Report.Flag.Builder clone()
Overrides
getDefaultInstanceForType()
public Report.Flag getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFilters(int index)
public Report.Filter getFilters(int index)
Required. Filters to apply for the flag.
repeated .google.ads.admanager.v1.Report.Filter filters = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getFiltersBuilder(int index)
public Report.Filter.Builder getFiltersBuilder(int index)
Required. Filters to apply for the flag.
repeated .google.ads.admanager.v1.Report.Filter filters = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getFiltersBuilderList()
public List<Report.Filter.Builder> getFiltersBuilderList()
Required. Filters to apply for the flag.
repeated .google.ads.admanager.v1.Report.Filter filters = 1 [(.google.api.field_behavior) = REQUIRED];
getFiltersCount()
public int getFiltersCount()
Required. Filters to apply for the flag.
repeated .google.ads.admanager.v1.Report.Filter filters = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
|
getFiltersList()
public List<Report.Filter> getFiltersList()
Required. Filters to apply for the flag.
repeated .google.ads.admanager.v1.Report.Filter filters = 1 [(.google.api.field_behavior) = REQUIRED];
getFiltersOrBuilder(int index)
public Report.FilterOrBuilder getFiltersOrBuilder(int index)
Required. Filters to apply for the flag.
repeated .google.ads.admanager.v1.Report.Filter filters = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getFiltersOrBuilderList()
public List<? extends Report.FilterOrBuilder> getFiltersOrBuilderList()
Required. Filters to apply for the flag.
repeated .google.ads.admanager.v1.Report.Filter filters = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
List<? extends com.google.ads.admanager.v1.Report.FilterOrBuilder> |
|
getName()
Optional. Name of the flag.
The flag names RED, YELLOW, GREEN, BLUE, PURPLE, and GREY correspond to
the colored flags that appear in the UI. The UI will not display flags
with other names, but they are available for use by API clients.
string name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Optional. Name of the flag.
The flag names RED, YELLOW, GREEN, BLUE, PURPLE, and GREY correspond to
the colored flags that appear in the UI. The UI will not display flags
with other names, but they are available for use by API clients.
string name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Report.Flag other)
public Report.Flag.Builder mergeFrom(Report.Flag other)
public Report.Flag.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Report.Flag.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Report.Flag.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeFilters(int index)
public Report.Flag.Builder removeFilters(int index)
Required. Filters to apply for the flag.
repeated .google.ads.admanager.v1.Report.Filter filters = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public Report.Flag.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setFilters(int index, Report.Filter value)
public Report.Flag.Builder setFilters(int index, Report.Filter value)
Required. Filters to apply for the flag.
repeated .google.ads.admanager.v1.Report.Filter filters = 1 [(.google.api.field_behavior) = REQUIRED];
setFilters(int index, Report.Filter.Builder builderForValue)
public Report.Flag.Builder setFilters(int index, Report.Filter.Builder builderForValue)
Required. Filters to apply for the flag.
repeated .google.ads.admanager.v1.Report.Filter filters = 1 [(.google.api.field_behavior) = REQUIRED];
setName(String value)
public Report.Flag.Builder setName(String value)
Optional. Name of the flag.
The flag names RED, YELLOW, GREEN, BLUE, PURPLE, and GREY correspond to
the colored flags that appear in the UI. The UI will not display flags
with other names, but they are available for use by API clients.
string name = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
String
The name to set.
|
setNameBytes(ByteString value)
public Report.Flag.Builder setNameBytes(ByteString value)
Optional. Name of the flag.
The flag names RED, YELLOW, GREEN, BLUE, PURPLE, and GREY correspond to
the colored flags that appear in the UI. The UI will not display flags
with other names, but they are available for use by API clients.
string name = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
ByteString
The bytes for name to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Report.Flag.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Report.Flag.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides