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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateSubpropertyRequest build()
Returns
TypeDescription
CreateSubpropertyRequest

buildPartial()

public CreateSubpropertyRequest buildPartial()
Returns
TypeDescription
CreateSubpropertyRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public CreateSubpropertyRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateSubpropertyRequest

getDescriptorForType()

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

getSubpropertyOrBuilder()

public PropertyOrBuilder getSubpropertyOrBuilder()

Required. The subproperty to create.

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

Returns
TypeDescription
PropertyOrBuilder

hasSubproperty()

public boolean hasSubproperty()

Required. The subproperty to create.

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

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

Whether the subpropertyEventFilter field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateSubpropertyRequest other)

public CreateSubpropertyRequest.Builder mergeFrom(CreateSubpropertyRequest other)
Parameter
NameDescription
otherCreateSubpropertyRequest
Returns
TypeDescription
CreateSubpropertyRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The parent to set.

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

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueProperty
Returns
TypeDescription
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
NameDescription
builderForValueProperty.Builder
Returns
TypeDescription
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
NameDescription
valueSubpropertyEventFilter
Returns
TypeDescription
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
NameDescription
builderForValueSubpropertyEventFilter.Builder
Returns
TypeDescription
CreateSubpropertyRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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