Send feedback
Class Report.Sort (0.15.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.15.0 keyboard_arrow_down
public static final class Report . Sort extends GeneratedMessageV3 implements Report . SortOrBuilder
Represents a sorting in a report.
Protobuf type google.ads.admanager.v1.Report.Sort
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
DESCENDING_FIELD_NUMBER
public static final int DESCENDING_FIELD_NUMBER
Field Value
Type
Description
int
FIELD_FIELD_NUMBER
public static final int FIELD_FIELD_NUMBER
Field Value
Type
Description
int
METRIC_VALUE_TYPE_FIELD_NUMBER
public static final int METRIC_VALUE_TYPE_FIELD_NUMBER
Field Value
Type
Description
int
SLICE_FIELD_NUMBER
public static final int SLICE_FIELD_NUMBER
Field Value
Type
Description
int
TIME_PERIOD_INDEX_FIELD_NUMBER
public static final int TIME_PERIOD_INDEX_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static Report . Sort getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static Report . Sort . Builder newBuilder ()
newBuilder(Report.Sort prototype)
public static Report . Sort . Builder newBuilder ( Report . Sort prototype )
public static Report . Sort parseDelimitedFrom ( InputStream input )
public static Report . Sort parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static Report . Sort parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Report . Sort parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static Report . Sort parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Report . Sort parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static Report . Sort parseFrom ( CodedInputStream input )
public static Report . Sort parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static Report . Sort parseFrom ( InputStream input )
public static Report . Sort parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static Report . Sort parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Report . Sort parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<Report . Sort > parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public Report . Sort getDefaultInstanceForType ()
getDescending()
public boolean getDescending ()
Optional. The sort order. If true the sort will be descending.
bool descending = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
The descending.
getField()
public Report . Field getField ()
Required. A field (dimension or metric) to sort by.
.google.ads.admanager.v1.Report.Field field = 1 [(.google.api.field_behavior) = REQUIRED];
getFieldOrBuilder()
public Report . FieldOrBuilder getFieldOrBuilder ()
Required. A field (dimension or metric) to sort by.
.google.ads.admanager.v1.Report.Field field = 1 [(.google.api.field_behavior) = REQUIRED];
getMetricValueType()
public Report . MetricValueType getMetricValueType ()
Optional. Use to specify which metric value type to sort on. Defaults to
PRIMARY.
optional .google.ads.admanager.v1.Report.MetricValueType metric_value_type = 5 [(.google.api.field_behavior) = OPTIONAL];
getMetricValueTypeValue()
public int getMetricValueTypeValue ()
Optional. Use to specify which metric value type to sort on. Defaults to
PRIMARY.
optional .google.ads.admanager.v1.Report.MetricValueType metric_value_type = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
int
The enum numeric value on the wire for metricValueType.
getParserForType()
public Parser<Report . Sort > getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getSlice()
public Report . Slice getSlice ()
Optional. Use to sort on a specific slice of data.
optional .google.ads.admanager.v1.Report.Slice slice = 3 [(.google.api.field_behavior) = OPTIONAL];
getSliceOrBuilder()
public Report . SliceOrBuilder getSliceOrBuilder ()
Optional. Use to sort on a specific slice of data.
optional .google.ads.admanager.v1.Report.Slice slice = 3 [(.google.api.field_behavior) = OPTIONAL];
getTimePeriodIndex()
public int getTimePeriodIndex ()
Optional. When using time period columns, use this to sort on a specific
column.
optional int32 time_period_index = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
int
The timePeriodIndex.
hasField()
public boolean hasField ()
Required. A field (dimension or metric) to sort by.
.google.ads.admanager.v1.Report.Field field = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
boolean
Whether the field field is set.
hasMetricValueType()
public boolean hasMetricValueType ()
Optional. Use to specify which metric value type to sort on. Defaults to
PRIMARY.
optional .google.ads.admanager.v1.Report.MetricValueType metric_value_type = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
Whether the metricValueType field is set.
hasSlice()
public boolean hasSlice ()
Optional. Use to sort on a specific slice of data.
optional .google.ads.admanager.v1.Report.Slice slice = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
Whether the slice field is set.
hasTimePeriodIndex()
public boolean hasTimePeriodIndex ()
Optional. When using time period columns, use this to sort on a specific
column.
optional int32 time_period_index = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
Whether the timePeriodIndex field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public Report . Sort . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Report . Sort . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public Report . Sort . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-04 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-04 UTC."],[],[]]