Class CreateEventCreateRuleRequest.Builder (0.52.0)

public static final class CreateEventCreateRuleRequest.Builder extends GeneratedMessageV3.Builder<CreateEventCreateRuleRequest.Builder> implements CreateEventCreateRuleRequestOrBuilder

Request message for CreateEventCreateRule RPC.

Protobuf type google.analytics.admin.v1alpha.CreateEventCreateRuleRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateEventCreateRuleRequest build()
Returns
Type Description
CreateEventCreateRuleRequest

buildPartial()

public CreateEventCreateRuleRequest buildPartial()
Returns
Type Description
CreateEventCreateRuleRequest

clear()

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

clearEventCreateRule()

public CreateEventCreateRuleRequest.Builder clearEventCreateRule()

Required. The EventCreateRule to create.

.google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateEventCreateRuleRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateEventCreateRuleRequest.Builder clearParent()

Required. Example format: properties/123/dataStreams/456

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

Returns
Type Description
CreateEventCreateRuleRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateEventCreateRuleRequest getDefaultInstanceForType()
Returns
Type Description
CreateEventCreateRuleRequest

getDescriptorForType()

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

getEventCreateRule()

public EventCreateRule getEventCreateRule()

Required. The EventCreateRule to create.

.google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EventCreateRule

The eventCreateRule.

getEventCreateRuleBuilder()

public EventCreateRule.Builder getEventCreateRuleBuilder()

Required. The EventCreateRule to create.

.google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EventCreateRule.Builder

getEventCreateRuleOrBuilder()

public EventCreateRuleOrBuilder getEventCreateRuleOrBuilder()

Required. The EventCreateRule to create.

.google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EventCreateRuleOrBuilder

getParent()

public String getParent()

Required. Example format: properties/123/dataStreams/456

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Example format: properties/123/dataStreams/456

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

Returns
Type Description
ByteString

The bytes for parent.

hasEventCreateRule()

public boolean hasEventCreateRule()

Required. The EventCreateRule to create.

.google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the eventCreateRule field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEventCreateRule(EventCreateRule value)

public CreateEventCreateRuleRequest.Builder mergeEventCreateRule(EventCreateRule value)

Required. The EventCreateRule to create.

.google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value EventCreateRule
Returns
Type Description
CreateEventCreateRuleRequest.Builder

mergeFrom(CreateEventCreateRuleRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEventCreateRule(EventCreateRule value)

public CreateEventCreateRuleRequest.Builder setEventCreateRule(EventCreateRule value)

Required. The EventCreateRule to create.

.google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value EventCreateRule
Returns
Type Description
CreateEventCreateRuleRequest.Builder

setEventCreateRule(EventCreateRule.Builder builderForValue)

public CreateEventCreateRuleRequest.Builder setEventCreateRule(EventCreateRule.Builder builderForValue)

Required. The EventCreateRule to create.

.google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue EventCreateRule.Builder
Returns
Type Description
CreateEventCreateRuleRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateEventCreateRuleRequest.Builder setParent(String value)

Required. Example format: properties/123/dataStreams/456

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateEventCreateRuleRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateEventCreateRuleRequest.Builder setParentBytes(ByteString value)

Required. Example format: properties/123/dataStreams/456

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
CreateEventCreateRuleRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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