Class RollupPropertySourceLink.Builder (0.40.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
TypeDescription
Descriptor

Methods

public RollupPropertySourceLink.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RollupPropertySourceLink.Builder
Overrides
public RollupPropertySourceLink build()
Returns
TypeDescription
RollupPropertySourceLink
public RollupPropertySourceLink buildPartial()
Returns
TypeDescription
RollupPropertySourceLink
public RollupPropertySourceLink.Builder clear()
Returns
TypeDescription
RollupPropertySourceLink.Builder
Overrides
public RollupPropertySourceLink.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
RollupPropertySourceLink.Builder

This builder for chaining.

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

This builder for chaining.

public RollupPropertySourceLink.Builder clone()
Returns
TypeDescription
RollupPropertySourceLink.Builder
Overrides
public RollupPropertySourceLink getDefaultInstanceForType()
Returns
TypeDescription
RollupPropertySourceLink
public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for sourceProperty.

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides
public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides
public RollupPropertySourceLink.Builder mergeFrom(RollupPropertySourceLink other)
Parameter
NameDescription
otherRollupPropertySourceLink
Returns
TypeDescription
RollupPropertySourceLink.Builder
public RollupPropertySourceLink.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RollupPropertySourceLink.Builder
Overrides
Exceptions
TypeDescription
IOException
public RollupPropertySourceLink.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RollupPropertySourceLink.Builder
Overrides
public final RollupPropertySourceLink.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RollupPropertySourceLink.Builder
Overrides
public RollupPropertySourceLink.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

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

The bytes for name to set.

Returns
TypeDescription
RollupPropertySourceLink.Builder

This builder for chaining.

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

The sourceProperty to set.

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

The bytes for sourceProperty to set.

Returns
TypeDescription
RollupPropertySourceLink.Builder

This builder for chaining.

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