Class CreateEventEditRuleRequest.Builder (0.58.0)

public static final class CreateEventEditRuleRequest.Builder extends GeneratedMessageV3.Builder<CreateEventEditRuleRequest.Builder> implements CreateEventEditRuleRequestOrBuilder

Request message for CreateEventEditRule RPC.

Protobuf type google.analytics.admin.v1alpha.CreateEventEditRuleRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateEventEditRuleRequest build()
Returns
Type Description
CreateEventEditRuleRequest

buildPartial()

public CreateEventEditRuleRequest buildPartial()
Returns
Type Description
CreateEventEditRuleRequest

clear()

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

clearEventEditRule()

public CreateEventEditRuleRequest.Builder clearEventEditRule()

Required. The EventEditRule to create.

.google.analytics.admin.v1alpha.EventEditRule event_edit_rule = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateEventEditRuleRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateEventEditRuleRequest.Builder clearParent()

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

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

Returns
Type Description
CreateEventEditRuleRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateEventEditRuleRequest getDefaultInstanceForType()
Returns
Type Description
CreateEventEditRuleRequest

getDescriptorForType()

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

getEventEditRule()

public EventEditRule getEventEditRule()

Required. The EventEditRule to create.

.google.analytics.admin.v1alpha.EventEditRule event_edit_rule = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EventEditRule

The eventEditRule.

getEventEditRuleBuilder()

public EventEditRule.Builder getEventEditRuleBuilder()

Required. The EventEditRule to create.

.google.analytics.admin.v1alpha.EventEditRule event_edit_rule = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EventEditRule.Builder

getEventEditRuleOrBuilder()

public EventEditRuleOrBuilder getEventEditRuleOrBuilder()

Required. The EventEditRule to create.

.google.analytics.admin.v1alpha.EventEditRule event_edit_rule = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EventEditRuleOrBuilder

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.

hasEventEditRule()

public boolean hasEventEditRule()

Required. The EventEditRule to create.

.google.analytics.admin.v1alpha.EventEditRule event_edit_rule = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the eventEditRule field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEventEditRule(EventEditRule value)

public CreateEventEditRuleRequest.Builder mergeEventEditRule(EventEditRule value)

Required. The EventEditRule to create.

.google.analytics.admin.v1alpha.EventEditRule event_edit_rule = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value EventEditRule
Returns
Type Description
CreateEventEditRuleRequest.Builder

mergeFrom(CreateEventEditRuleRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEventEditRule(EventEditRule value)

public CreateEventEditRuleRequest.Builder setEventEditRule(EventEditRule value)

Required. The EventEditRule to create.

.google.analytics.admin.v1alpha.EventEditRule event_edit_rule = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value EventEditRule
Returns
Type Description
CreateEventEditRuleRequest.Builder

setEventEditRule(EventEditRule.Builder builderForValue)

public CreateEventEditRuleRequest.Builder setEventEditRule(EventEditRule.Builder builderForValue)

Required. The EventEditRule to create.

.google.analytics.admin.v1alpha.EventEditRule event_edit_rule = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue EventEditRule.Builder
Returns
Type Description
CreateEventEditRuleRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateEventEditRuleRequest.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
CreateEventEditRuleRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateEventEditRuleRequest.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
CreateEventEditRuleRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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