Class CreateSubpropertyRequest.Builder (0.54.0)

public static final class CreateSubpropertyRequest.Builder extends GeneratedMessageV3.Builder<CreateSubpropertyRequest.Builder> implements CreateSubpropertyRequestOrBuilder

Request message for CreateSubproperty RPC.

Protobuf type google.analytics.admin.v1alpha.CreateSubpropertyRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateSubpropertyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateSubpropertyRequest.Builder
Overrides

build()

public CreateSubpropertyRequest build()
Returns
Type Description
CreateSubpropertyRequest

buildPartial()

public CreateSubpropertyRequest buildPartial()
Returns
Type Description
CreateSubpropertyRequest

clear()

public CreateSubpropertyRequest.Builder clear()
Returns
Type Description
CreateSubpropertyRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreateSubpropertyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateSubpropertyRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateSubpropertyRequest.Builder clearParent()

Required. The ordinary property for which to create a subproperty. Format: properties/property_id Example: properties/123

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateSubpropertyRequest.Builder

This builder for chaining.

clearSubproperty()

public CreateSubpropertyRequest.Builder clearSubproperty()

Required. The subproperty to create.

.google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateSubpropertyRequest.Builder

clearSubpropertyEventFilter()

public CreateSubpropertyRequest.Builder clearSubpropertyEventFilter()

Optional. The subproperty event filter to create on an ordinary property.

.google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CreateSubpropertyRequest.Builder

clone()

public CreateSubpropertyRequest.Builder clone()
Returns
Type Description
CreateSubpropertyRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateSubpropertyRequest getDefaultInstanceForType()
Returns
Type Description
CreateSubpropertyRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getParent()

public String getParent()

Required. The ordinary property for which to create a subproperty. Format: properties/property_id Example: properties/123

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The ordinary property for which to create a subproperty. Format: properties/property_id Example: properties/123

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getSubproperty()

public Property getSubproperty()

Required. The subproperty to create.

.google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Property

The subproperty.

getSubpropertyBuilder()

public Property.Builder getSubpropertyBuilder()

Required. The subproperty to create.

.google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Property.Builder

getSubpropertyEventFilter()

public SubpropertyEventFilter getSubpropertyEventFilter()

Optional. The subproperty event filter to create on an ordinary property.

.google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SubpropertyEventFilter

The subpropertyEventFilter.

getSubpropertyEventFilterBuilder()

public SubpropertyEventFilter.Builder getSubpropertyEventFilterBuilder()

Optional. The subproperty event filter to create on an ordinary property.

.google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SubpropertyEventFilter.Builder

getSubpropertyEventFilterOrBuilder()

public SubpropertyEventFilterOrBuilder getSubpropertyEventFilterOrBuilder()

Optional. The subproperty event filter to create on an ordinary property.

.google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SubpropertyEventFilterOrBuilder

getSubpropertyOrBuilder()

public PropertyOrBuilder getSubpropertyOrBuilder()

Required. The subproperty to create.

.google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PropertyOrBuilder

hasSubproperty()

public boolean hasSubproperty()

Required. The subproperty to create.

.google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the subproperty field is set.

hasSubpropertyEventFilter()

public boolean hasSubpropertyEventFilter()

Optional. The subproperty event filter to create on an ordinary property.

.google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the subpropertyEventFilter field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateSubpropertyRequest other)

public CreateSubpropertyRequest.Builder mergeFrom(CreateSubpropertyRequest other)
Parameter
Name Description
other CreateSubpropertyRequest
Returns
Type Description
CreateSubpropertyRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateSubpropertyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateSubpropertyRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateSubpropertyRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateSubpropertyRequest.Builder
Overrides

mergeSubproperty(Property value)

public CreateSubpropertyRequest.Builder mergeSubproperty(Property value)

Required. The subproperty to create.

.google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Property
Returns
Type Description
CreateSubpropertyRequest.Builder

mergeSubpropertyEventFilter(SubpropertyEventFilter value)

public CreateSubpropertyRequest.Builder mergeSubpropertyEventFilter(SubpropertyEventFilter value)

Optional. The subproperty event filter to create on an ordinary property.

.google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SubpropertyEventFilter
Returns
Type Description
CreateSubpropertyRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateSubpropertyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateSubpropertyRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreateSubpropertyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateSubpropertyRequest.Builder
Overrides

setParent(String value)

public CreateSubpropertyRequest.Builder setParent(String value)

Required. The ordinary property for which to create a subproperty. Format: properties/property_id Example: properties/123

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateSubpropertyRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateSubpropertyRequest.Builder setParentBytes(ByteString value)

Required. The ordinary property for which to create a subproperty. Format: properties/property_id Example: properties/123

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateSubpropertyRequest.Builder

This builder for chaining.

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

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

setSubproperty(Property value)

public CreateSubpropertyRequest.Builder setSubproperty(Property value)

Required. The subproperty to create.

.google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Property
Returns
Type Description
CreateSubpropertyRequest.Builder

setSubproperty(Property.Builder builderForValue)

public CreateSubpropertyRequest.Builder setSubproperty(Property.Builder builderForValue)

Required. The subproperty to create.

.google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Property.Builder
Returns
Type Description
CreateSubpropertyRequest.Builder

setSubpropertyEventFilter(SubpropertyEventFilter value)

public CreateSubpropertyRequest.Builder setSubpropertyEventFilter(SubpropertyEventFilter value)

Optional. The subproperty event filter to create on an ordinary property.

.google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SubpropertyEventFilter
Returns
Type Description
CreateSubpropertyRequest.Builder

setSubpropertyEventFilter(SubpropertyEventFilter.Builder builderForValue)

public CreateSubpropertyRequest.Builder setSubpropertyEventFilter(SubpropertyEventFilter.Builder builderForValue)

Optional. The subproperty event filter to create on an ordinary property.

.google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue SubpropertyEventFilter.Builder
Returns
Type Description
CreateSubpropertyRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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