Enum Section
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Section>
@Generated
public enum Section
extends Enum<Section>
implements com.google.protobuf.ProtocolMessageEnum
Identifies if the report data is from the standard report data or conversion dataProtobuf enum
google.analytics.data.v1alpha.Section-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe report data is from the conversion data.The report data is from the standard report data.Should never be specified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe report data is from the conversion data.static final intThe report data is from the standard report data.static final intShould never be specified. -
Method Summary
Modifier and TypeMethodDescriptionstatic SectionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Section>static SectionvalueOf(int value) Deprecated.static SectionvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static SectionReturns the enum constant of this type with the specified name.static Section[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SECTION_UNSPECIFIED
Should never be specified.
SECTION_UNSPECIFIED = 0; -
SECTION_REPORT
The report data is from the standard report data. Google Analytics reports include acquisition, engagement, and user behavior reports. Reports use dimensions like session source & landing page; reports use metrics like sessions, views, and engagement time.
SECTION_REPORT = 1; -
SECTION_ADVERTISING
The report data is from the conversion data. The Google Analytics Advertising section reports on conversion performance. Advertising reports use dimensions like source & medium; advertising reports use metrics like all conversions and ads cost.
SECTION_ADVERTISING = 2; -
UNRECOGNIZED
-
-
Field Details
-
SECTION_UNSPECIFIED_VALUE
public static final int SECTION_UNSPECIFIED_VALUEShould never be specified.
SECTION_UNSPECIFIED = 0;- See Also:
-
SECTION_REPORT_VALUE
public static final int SECTION_REPORT_VALUEThe report data is from the standard report data. Google Analytics reports include acquisition, engagement, and user behavior reports. Reports use dimensions like session source & landing page; reports use metrics like sessions, views, and engagement time.
SECTION_REPORT = 1;- See Also:
-
SECTION_ADVERTISING_VALUE
public static final int SECTION_ADVERTISING_VALUEThe report data is from the conversion data. The Google Analytics Advertising section reports on conversion performance. Advertising reports use dimensions like source & medium; advertising reports use metrics like all conversions and ads cost.
SECTION_ADVERTISING = 2;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-