Class ReorderEventEditRulesRequest.Builder (0.65.0)

public static final class ReorderEventEditRulesRequest.Builder extends GeneratedMessageV3.Builder<ReorderEventEditRulesRequest.Builder> implements ReorderEventEditRulesRequestOrBuilder

Request message for ReorderEventEditRules RPC.

Protobuf type google.analytics.admin.v1alpha.ReorderEventEditRulesRequest

Static Methods

getDescriptor()

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

Methods

addAllEventEditRules(Iterable<String> values)

public ReorderEventEditRulesRequest.Builder addAllEventEditRules(Iterable<String> values)

Required. EventEditRule resource names for the specified data stream, in the needed processing order. All EventEditRules for the stream must be present in the list.

repeated string event_edit_rules = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<String>

The eventEditRules to add.

Returns
Type Description
ReorderEventEditRulesRequest.Builder

This builder for chaining.

addEventEditRules(String value)

public ReorderEventEditRulesRequest.Builder addEventEditRules(String value)

Required. EventEditRule resource names for the specified data stream, in the needed processing order. All EventEditRules for the stream must be present in the list.

repeated string event_edit_rules = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The eventEditRules to add.

Returns
Type Description
ReorderEventEditRulesRequest.Builder

This builder for chaining.

addEventEditRulesBytes(ByteString value)

public ReorderEventEditRulesRequest.Builder addEventEditRulesBytes(ByteString value)

Required. EventEditRule resource names for the specified data stream, in the needed processing order. All EventEditRules for the stream must be present in the list.

repeated string event_edit_rules = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes of the eventEditRules to add.

Returns
Type Description
ReorderEventEditRulesRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReorderEventEditRulesRequest build()
Returns
Type Description
ReorderEventEditRulesRequest

buildPartial()

public ReorderEventEditRulesRequest buildPartial()
Returns
Type Description
ReorderEventEditRulesRequest

clear()

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

clearEventEditRules()

public ReorderEventEditRulesRequest.Builder clearEventEditRules()

Required. EventEditRule resource names for the specified data stream, in the needed processing order. All EventEditRules for the stream must be present in the list.

repeated string event_edit_rules = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReorderEventEditRulesRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public ReorderEventEditRulesRequest.Builder clearParent()

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

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

Returns
Type Description
ReorderEventEditRulesRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ReorderEventEditRulesRequest getDefaultInstanceForType()
Returns
Type Description
ReorderEventEditRulesRequest

getDescriptorForType()

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

getEventEditRules(int index)

public String getEventEditRules(int index)

Required. EventEditRule resource names for the specified data stream, in the needed processing order. All EventEditRules for the stream must be present in the list.

repeated string event_edit_rules = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The eventEditRules at the given index.

getEventEditRulesBytes(int index)

public ByteString getEventEditRulesBytes(int index)

Required. EventEditRule resource names for the specified data stream, in the needed processing order. All EventEditRules for the stream must be present in the list.

repeated string event_edit_rules = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the eventEditRules at the given index.

getEventEditRulesCount()

public int getEventEditRulesCount()

Required. EventEditRule resource names for the specified data stream, in the needed processing order. All EventEditRules for the stream must be present in the list.

repeated string event_edit_rules = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of eventEditRules.

getEventEditRulesList()

public ProtocolStringList getEventEditRulesList()

Required. EventEditRule resource names for the specified data stream, in the needed processing order. All EventEditRules for the stream must be present in the list.

repeated string event_edit_rules = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ProtocolStringList

A list containing the eventEditRules.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReorderEventEditRulesRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEventEditRules(int index, String value)

public ReorderEventEditRulesRequest.Builder setEventEditRules(int index, String value)

Required. EventEditRule resource names for the specified data stream, in the needed processing order. All EventEditRules for the stream must be present in the list.

repeated string event_edit_rules = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int

The index to set the value at.

value String

The eventEditRules to set.

Returns
Type Description
ReorderEventEditRulesRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

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

This builder for chaining.

setParentBytes(ByteString value)

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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