Class CreateEventCreateRuleRequest.Builder (0.37.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateEventCreateRuleRequest build()
Returns
TypeDescription
CreateEventCreateRuleRequest

buildPartial()

public CreateEventCreateRuleRequest buildPartial()
Returns
TypeDescription
CreateEventCreateRuleRequest

clear()

public CreateEventCreateRuleRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
CreateEventCreateRuleRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateEventCreateRuleRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateEventCreateRuleRequest

getDescriptorForType()

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

Whether the eventCreateRule field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueEventCreateRule
Returns
TypeDescription
CreateEventCreateRuleRequest.Builder

mergeFrom(CreateEventCreateRuleRequest other)

public CreateEventCreateRuleRequest.Builder mergeFrom(CreateEventCreateRuleRequest other)
Parameter
NameDescription
otherCreateEventCreateRuleRequest
Returns
TypeDescription
CreateEventCreateRuleRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CreateEventCreateRuleRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateEventCreateRuleRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateEventCreateRuleRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueEventCreateRule
Returns
TypeDescription
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
NameDescription
builderForValueEventCreateRule.Builder
Returns
TypeDescription
CreateEventCreateRuleRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The parent to set.

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

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateEventCreateRuleRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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