Class BreakdownDefinition.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BreakdownDefinition.Builder>
com.google.ads.googleads.v23.services.BreakdownDefinition.Builder
- All Implemented Interfaces:
BreakdownDefinitionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BreakdownDefinition
public static final class BreakdownDefinition.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BreakdownDefinition.Builder>
implements BreakdownDefinitionOrBuilder
The set of dimensions to group metrics by.Protobuf type
google.ads.googleads.v23.services.BreakdownDefinition-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The granularity for segmenting metrics by date.The granularity for segmenting metrics by date.intThe granularity for segmenting metrics by date.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(BreakdownDefinition other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The granularity for segmenting metrics by date.setDateBreakdownValue(int value) The granularity for segmenting metrics by date.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<BreakdownDefinition.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<BreakdownDefinition.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<BreakdownDefinition.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BreakdownDefinition.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BreakdownDefinition.Builder>
-
mergeFrom
public BreakdownDefinition.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BreakdownDefinition.Builder>- Throws:
IOException
-
getDateBreakdownValue
public int getDateBreakdownValue()The granularity for segmenting metrics by date. When this field is set, a valid date_range in the GenerateBenchmarksMetricsRequest is required and must precisely align with the boundaries of the selected granularity. For example, a monthly breakdown must start on the first day of a month and end on the last day of a month. A quarterly breakdown must start on the first day of a quarter and end on the last day of a quarter. A weekly breakdown must start on a Sunday and end on a Saturday. This is different from the ISO 8601 standard, where weeks start on Monday.
.google.ads.googleads.v23.enums.BenchmarksTimeGranularityEnum.BenchmarksTimeGranularity date_breakdown = 1;- Specified by:
getDateBreakdownValuein interfaceBreakdownDefinitionOrBuilder- Returns:
- The enum numeric value on the wire for dateBreakdown.
-
setDateBreakdownValue
The granularity for segmenting metrics by date. When this field is set, a valid date_range in the GenerateBenchmarksMetricsRequest is required and must precisely align with the boundaries of the selected granularity. For example, a monthly breakdown must start on the first day of a month and end on the last day of a month. A quarterly breakdown must start on the first day of a quarter and end on the last day of a quarter. A weekly breakdown must start on a Sunday and end on a Saturday. This is different from the ISO 8601 standard, where weeks start on Monday.
.google.ads.googleads.v23.enums.BenchmarksTimeGranularityEnum.BenchmarksTimeGranularity date_breakdown = 1;- Parameters:
value- The enum numeric value on the wire for dateBreakdown to set.- Returns:
- This builder for chaining.
-
getDateBreakdown
The granularity for segmenting metrics by date. When this field is set, a valid date_range in the GenerateBenchmarksMetricsRequest is required and must precisely align with the boundaries of the selected granularity. For example, a monthly breakdown must start on the first day of a month and end on the last day of a month. A quarterly breakdown must start on the first day of a quarter and end on the last day of a quarter. A weekly breakdown must start on a Sunday and end on a Saturday. This is different from the ISO 8601 standard, where weeks start on Monday.
.google.ads.googleads.v23.enums.BenchmarksTimeGranularityEnum.BenchmarksTimeGranularity date_breakdown = 1;- Specified by:
getDateBreakdownin interfaceBreakdownDefinitionOrBuilder- Returns:
- The dateBreakdown.
-
setDateBreakdown
public BreakdownDefinition.Builder setDateBreakdown(BenchmarksTimeGranularityEnum.BenchmarksTimeGranularity value) The granularity for segmenting metrics by date. When this field is set, a valid date_range in the GenerateBenchmarksMetricsRequest is required and must precisely align with the boundaries of the selected granularity. For example, a monthly breakdown must start on the first day of a month and end on the last day of a month. A quarterly breakdown must start on the first day of a quarter and end on the last day of a quarter. A weekly breakdown must start on a Sunday and end on a Saturday. This is different from the ISO 8601 standard, where weeks start on Monday.
.google.ads.googleads.v23.enums.BenchmarksTimeGranularityEnum.BenchmarksTimeGranularity date_breakdown = 1;- Parameters:
value- The dateBreakdown to set.- Returns:
- This builder for chaining.
-
clearDateBreakdown
The granularity for segmenting metrics by date. When this field is set, a valid date_range in the GenerateBenchmarksMetricsRequest is required and must precisely align with the boundaries of the selected granularity. For example, a monthly breakdown must start on the first day of a month and end on the last day of a month. A quarterly breakdown must start on the first day of a quarter and end on the last day of a quarter. A weekly breakdown must start on a Sunday and end on a Saturday. This is different from the ISO 8601 standard, where weeks start on Monday.
.google.ads.googleads.v23.enums.BenchmarksTimeGranularityEnum.BenchmarksTimeGranularity date_breakdown = 1;- Returns:
- This builder for chaining.
-