public static final class Report.Slice extends GeneratedMessageV3 implements Report.SliceOrBuilder
Use to specify a slice of data.
For example, in a report, to focus on just data from the US, specify
COUNTRY_NAME
for dimension and value: "United States"
.
Protobuf type google.ads.admanager.v1.Report.Slice
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
DIMENSION_FIELD_NUMBER
public static final int DIMENSION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
VALUE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Report.Slice getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Report.Slice.Builder newBuilder()
newBuilder(Report.Slice prototype)
public static Report.Slice.Builder newBuilder(Report.Slice prototype)
public static Report.Slice parseDelimitedFrom(InputStream input)
public static Report.Slice parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Report.Slice parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Report.Slice parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Report.Slice parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Report.Slice parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Report.Slice parseFrom(CodedInputStream input)
public static Report.Slice parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Report.Slice parseFrom(InputStream input)
public static Report.Slice parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Report.Slice parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Report.Slice parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Report.Slice> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Report.Slice getDefaultInstanceForType()
getDimension()
public Report.Dimension getDimension()
Required. The dimension to slice on.
.google.ads.admanager.v1.Report.Dimension dimension = 1 [(.google.api.field_behavior) = REQUIRED];
getDimensionValue()
public int getDimensionValue()
Required. The dimension to slice on.
.google.ads.admanager.v1.Report.Dimension dimension = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for dimension.
|
getParserForType()
public Parser<Report.Slice> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getValue()
public Report.Value getValue()
Required. The value of the dimension.
.google.ads.admanager.v1.Report.Value value = 2 [(.google.api.field_behavior) = REQUIRED];
getValueOrBuilder()
public Report.ValueOrBuilder getValueOrBuilder()
Required. The value of the dimension.
.google.ads.admanager.v1.Report.Value value = 2 [(.google.api.field_behavior) = REQUIRED];
hasValue()
public boolean hasValue()
Required. The value of the dimension.
.google.ads.admanager.v1.Report.Value value = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the value field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Report.Slice.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Report.Slice.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Report.Slice.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides