Send feedback
Class CreateRollupPropertyRequest.Builder (0.57.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.57.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];
Parameter
Name
Description
value
Property
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];
Parameter
Name
Description
value
Property
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 the `CreateRollupPropertyRequest.Builder` class, used in Google Analytics Admin API version 0.57.0, which is used to create requests for creating roll-up properties."],["The `CreateRollupPropertyRequest.Builder` class is a subclass of `GeneratedMessageV3.Builder` and implements `CreateRollupPropertyRequestOrBuilder`."],["The latest version of this API that is available to view on this page is version 0.70.0, with documentation going back to version 0.14.0."],["The `CreateRollupPropertyRequest.Builder` class includes methods for setting and managing the required roll-up property and the optional source properties."],["The class in question, `CreateRollupPropertyRequest.Builder`, is used to create a roll-up property by building the request message, and also contains a variety of useful methods to add, remove, and manage data that will be included in said request."]]],[]]