Class CreateRollupPropertyRequest.Builder (0.44.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

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
NameDescription
valuesIterable<String>

The sourceProperties to add.

Returns
TypeDescription
CreateRollupPropertyRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateRollupPropertyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateRollupPropertyRequest.Builder
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
NameDescription
valueString

The sourceProperties to add.

Returns
TypeDescription
CreateRollupPropertyRequest.Builder

This builder for chaining.

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
NameDescription
valueByteString

The bytes of the sourceProperties to add.

Returns
TypeDescription
CreateRollupPropertyRequest.Builder

This builder for chaining.

build()

public CreateRollupPropertyRequest build()
Returns
TypeDescription
CreateRollupPropertyRequest

buildPartial()

public CreateRollupPropertyRequest buildPartial()
Returns
TypeDescription
CreateRollupPropertyRequest

clear()

public CreateRollupPropertyRequest.Builder clear()
Returns
TypeDescription
CreateRollupPropertyRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreateRollupPropertyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateRollupPropertyRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateRollupPropertyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CreateRollupPropertyRequest.Builder
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];

Returns
TypeDescription
CreateRollupPropertyRequest.Builder

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];

Returns
TypeDescription
CreateRollupPropertyRequest.Builder

This builder for chaining.

clone()

public CreateRollupPropertyRequest.Builder clone()
Returns
TypeDescription
CreateRollupPropertyRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateRollupPropertyRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateRollupPropertyRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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
TypeDescription
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];

Returns
TypeDescription
Property.Builder

getRollupPropertyOrBuilder()

public PropertyOrBuilder getRollupPropertyOrBuilder()

Required. The roll-up property to create.

.google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
PropertyOrBuilder

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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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];

Returns
TypeDescription
ProtocolStringList

A list containing the sourceProperties.

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
TypeDescription
boolean

Whether the rollupProperty field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateRollupPropertyRequest other)

public CreateRollupPropertyRequest.Builder mergeFrom(CreateRollupPropertyRequest other)
Parameter
NameDescription
otherCreateRollupPropertyRequest
Returns
TypeDescription
CreateRollupPropertyRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateRollupPropertyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateRollupPropertyRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreateRollupPropertyRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateRollupPropertyRequest.Builder
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
NameDescription
valueProperty
Returns
TypeDescription
CreateRollupPropertyRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateRollupPropertyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateRollupPropertyRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreateRollupPropertyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateRollupPropertyRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreateRollupPropertyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateRollupPropertyRequest.Builder
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
NameDescription
valueProperty
Returns
TypeDescription
CreateRollupPropertyRequest.Builder

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];

Parameter
NameDescription
builderForValueProperty.Builder
Returns
TypeDescription
CreateRollupPropertyRequest.Builder

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
NameDescription
indexint

The index to set the value at.

valueString

The sourceProperties to set.

Returns
TypeDescription
CreateRollupPropertyRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateRollupPropertyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateRollupPropertyRequest.Builder
Overrides