Send feedback
Class CreateRollupPropertyRequest.Builder (0.41.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.41.0 keyboard_arrow_down
public static final class CreateRollupPropertyRequest . Builder extends GeneratedMessageV3 . Builder<CreateRollupPropertyRequest . Builder > implements CreateRollupPropertyRequestOrBuilder
Request message for CreateRollupProperty RPC.
Protobuf type google.analytics.admin.v1alpha.CreateRollupPropertyRequest
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
addAllSourceProperties(Iterable<String> values)
public CreateRollupPropertyRequest . Builder addAllSourceProperties ( Iterable<String> values )
Optional. The resource names of properties that will be sources to the
created roll-up property.
repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter Name Description values
Iterable <String >
The sourceProperties to add.
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateRollupPropertyRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
addSourceProperties(String value)
public CreateRollupPropertyRequest . Builder addSourceProperties ( String value )
Optional. The resource names of properties that will be sources to the
created roll-up property.
repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter Name Description value
String
The sourceProperties to add.
addSourcePropertiesBytes(ByteString value)
public CreateRollupPropertyRequest . Builder addSourcePropertiesBytes ( ByteString value )
Optional. The resource names of properties that will be sources to the
created roll-up property.
repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter Name Description value
ByteString
The bytes of the sourceProperties to add.
build()
public CreateRollupPropertyRequest build ()
buildPartial()
public CreateRollupPropertyRequest buildPartial ()
clear()
public CreateRollupPropertyRequest . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateRollupPropertyRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateRollupPropertyRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearRollupProperty()
public CreateRollupPropertyRequest . Builder clearRollupProperty ()
Required. The roll-up property to create.
.google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED];
clearSourceProperties()
public CreateRollupPropertyRequest . Builder clearSourceProperties ()
Optional. The resource names of properties that will be sources to the
created roll-up property.
repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL];
clone()
public CreateRollupPropertyRequest . Builder clone ()
Overrides
getDefaultInstanceForType()
public CreateRollupPropertyRequest getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getRollupProperty()
public Property getRollupProperty ()
Required. The roll-up property to create.
.google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED];
Returns Type Description Property
The rollupProperty.
getRollupPropertyBuilder()
public Property . Builder getRollupPropertyBuilder ()
Required. The roll-up property to create.
.google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED];
getRollupPropertyOrBuilder()
public PropertyOrBuilder getRollupPropertyOrBuilder ()
Required. The roll-up property to create.
.google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED];
getSourceProperties(int index)
public String getSourceProperties ( int index )
Optional. The resource names of properties that will be sources to the
created roll-up property.
repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter Name Description index
int
The index of the element to return.
Returns Type Description String
The sourceProperties at the given index.
getSourcePropertiesBytes(int index)
public ByteString getSourcePropertiesBytes ( int index )
Optional. The resource names of properties that will be sources to the
created roll-up property.
repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter Name Description index
int
The index of the value to return.
Returns Type Description ByteString
The bytes of the sourceProperties at the given index.
getSourcePropertiesCount()
public int getSourcePropertiesCount ()
Optional. The resource names of properties that will be sources to the
created roll-up property.
repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns Type Description int
The count of sourceProperties.
getSourcePropertiesList()
public ProtocolStringList getSourcePropertiesList ()
Optional. The resource names of properties that will be sources to the
created roll-up property.
repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL];
hasRollupProperty()
public boolean hasRollupProperty ()
Required. The roll-up property to create.
.google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED];
Returns Type Description boolean
Whether the rollupProperty field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(CreateRollupPropertyRequest other)
public CreateRollupPropertyRequest . Builder mergeFrom ( CreateRollupPropertyRequest other )
public CreateRollupPropertyRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public CreateRollupPropertyRequest . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeRollupProperty(Property value)
public CreateRollupPropertyRequest . Builder mergeRollupProperty ( Property value )
Required. The roll-up property to create.
.google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateRollupPropertyRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateRollupPropertyRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateRollupPropertyRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setRollupProperty(Property value)
public CreateRollupPropertyRequest . Builder setRollupProperty ( Property value )
Required. The roll-up property to create.
.google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED];
setRollupProperty(Property.Builder builderForValue)
public CreateRollupPropertyRequest . Builder setRollupProperty ( Property . Builder builderForValue )
Required. The roll-up property to create.
.google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED];
setSourceProperties(int index, String value)
public CreateRollupPropertyRequest . Builder setSourceProperties ( int index , String value )
Optional. The resource names of properties that will be sources to the
created roll-up property.
repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameters Name Description index
int
The index to set the value at.
value
String
The sourceProperties to set.
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateRollupPropertyRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
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-03-21 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-03-21 UTC."],[[["This webpage provides documentation for various versions of the `CreateRollupPropertyRequest.Builder` class within the Google Analytics Admin API, ranging from version 0.14.0 to 0.70.0, which is the latest version."],["The `CreateRollupPropertyRequest.Builder` class is part of the `com.google.analytics.admin.v1alpha` package and is used to construct requests for creating a roll-up property."],["The class inherits from `GeneratedMessageV3.Builder` and implements `CreateRollupPropertyRequestOrBuilder`, utilizing functionalities from `AbstractMessage`, and `AbstractMessageLite` to build the `CreateRollupPropertyRequest` messages."],["The `CreateRollupPropertyRequest.Builder` includes methods to manage source properties, such as `addAllSourceProperties`, `addSourceProperties`, and `setSourceProperties`, which is used to define resource names of the properties that will be sources for a newly created roll-up property."],["The class requires users to set the roll-up property, using `setRollupProperty`, that is being created."]]],[]]