Class RollupPropertySourceLink.Builder (0.59.0)

public static final class RollupPropertySourceLink.Builder extends GeneratedMessageV3.Builder<RollupPropertySourceLink.Builder> implements RollupPropertySourceLinkOrBuilder

A link that references a source property under the parent rollup property.

Protobuf type google.analytics.admin.v1alpha.RollupPropertySourceLink

Static Methods

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

public RollupPropertySourceLink.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RollupPropertySourceLink.Builder
Overrides
public RollupPropertySourceLink build()
Returns
Type Description
RollupPropertySourceLink
public RollupPropertySourceLink buildPartial()
Returns
Type Description
RollupPropertySourceLink
public RollupPropertySourceLink.Builder clear()
Returns
Type Description
RollupPropertySourceLink.Builder
Overrides
public RollupPropertySourceLink.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RollupPropertySourceLink.Builder
Overrides
public RollupPropertySourceLink.Builder clearName()

Output only. Resource name of this RollupPropertySourceLink. Format: 'properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link}' Format: 'properties/123/rollupPropertySourceLinks/456'

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RollupPropertySourceLink.Builder

This builder for chaining.

public RollupPropertySourceLink.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RollupPropertySourceLink.Builder
Overrides
public RollupPropertySourceLink.Builder clearSourceProperty()

Immutable. Resource name of the source property. Format: properties/{property_id} Example: "properties/789"

string source_property = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
RollupPropertySourceLink.Builder

This builder for chaining.

public RollupPropertySourceLink.Builder clone()
Returns
Type Description
RollupPropertySourceLink.Builder
Overrides
public RollupPropertySourceLink getDefaultInstanceForType()
Returns
Type Description
RollupPropertySourceLink
public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides
public String getName()

Output only. Resource name of this RollupPropertySourceLink. Format: 'properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link}' Format: 'properties/123/rollupPropertySourceLinks/456'

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

public ByteString getNameBytes()

Output only. Resource name of this RollupPropertySourceLink. Format: 'properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link}' Format: 'properties/123/rollupPropertySourceLinks/456'

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

public String getSourceProperty()

Immutable. Resource name of the source property. Format: properties/{property_id} Example: "properties/789"

string source_property = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The sourceProperty.

public ByteString getSourcePropertyBytes()

Immutable. Resource name of the source property. Format: properties/{property_id} Example: "properties/789"

string source_property = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for sourceProperty.

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides
public final boolean isInitialized()
Returns
Type Description
boolean
Overrides
public RollupPropertySourceLink.Builder mergeFrom(RollupPropertySourceLink other)
Parameter
Name Description
other RollupPropertySourceLink
Returns
Type Description
RollupPropertySourceLink.Builder
public RollupPropertySourceLink.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RollupPropertySourceLink.Builder
Overrides
Exceptions
Type Description
IOException
public RollupPropertySourceLink.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RollupPropertySourceLink.Builder
Overrides
public final RollupPropertySourceLink.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RollupPropertySourceLink.Builder
Overrides
public RollupPropertySourceLink.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RollupPropertySourceLink.Builder
Overrides
public RollupPropertySourceLink.Builder setName(String value)

Output only. Resource name of this RollupPropertySourceLink. Format: 'properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link}' Format: 'properties/123/rollupPropertySourceLinks/456'

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
RollupPropertySourceLink.Builder

This builder for chaining.

public RollupPropertySourceLink.Builder setNameBytes(ByteString value)

Output only. Resource name of this RollupPropertySourceLink. Format: 'properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link}' Format: 'properties/123/rollupPropertySourceLinks/456'

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
RollupPropertySourceLink.Builder

This builder for chaining.

public RollupPropertySourceLink.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RollupPropertySourceLink.Builder
Overrides
public RollupPropertySourceLink.Builder setSourceProperty(String value)

Immutable. Resource name of the source property. Format: properties/{property_id} Example: "properties/789"

string source_property = 2 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value String

The sourceProperty to set.

Returns
Type Description
RollupPropertySourceLink.Builder

This builder for chaining.

public RollupPropertySourceLink.Builder setSourcePropertyBytes(ByteString value)

Immutable. Resource name of the source property. Format: properties/{property_id} Example: "properties/789"

string source_property = 2 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value ByteString

The bytes for sourceProperty to set.

Returns
Type Description
RollupPropertySourceLink.Builder

This builder for chaining.

public final RollupPropertySourceLink.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RollupPropertySourceLink.Builder
Overrides