Class ReorderEventEditRulesRequest.Builder (0.95.0)

public static final class ReorderEventEditRulesRequest.Builder extends GeneratedMessage.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.

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.

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.

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 GeneratedMessage.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

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.

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.