Class ListKeyEventsResponse.Builder (0.64.0)

public static final class ListKeyEventsResponse.Builder extends GeneratedMessageV3.Builder<ListKeyEventsResponse.Builder> implements ListKeyEventsResponseOrBuilder

Response message for ListKeyEvents RPC.

Protobuf type google.analytics.admin.v1alpha.ListKeyEventsResponse

Static Methods

getDescriptor()

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

Methods

addAllKeyEvents(Iterable<? extends KeyEvent> values)

public ListKeyEventsResponse.Builder addAllKeyEvents(Iterable<? extends KeyEvent> values)

The requested Key Events

repeated .google.analytics.admin.v1alpha.KeyEvent key_events = 1;

Parameter
Name Description
values Iterable<? extends com.google.analytics.admin.v1alpha.KeyEvent>
Returns
Type Description
ListKeyEventsResponse.Builder

addKeyEvents(KeyEvent value)

public ListKeyEventsResponse.Builder addKeyEvents(KeyEvent value)

The requested Key Events

repeated .google.analytics.admin.v1alpha.KeyEvent key_events = 1;

Parameter
Name Description
value KeyEvent
Returns
Type Description
ListKeyEventsResponse.Builder

addKeyEvents(KeyEvent.Builder builderForValue)

public ListKeyEventsResponse.Builder addKeyEvents(KeyEvent.Builder builderForValue)

The requested Key Events

repeated .google.analytics.admin.v1alpha.KeyEvent key_events = 1;

Parameter
Name Description
builderForValue KeyEvent.Builder
Returns
Type Description
ListKeyEventsResponse.Builder

addKeyEvents(int index, KeyEvent value)

public ListKeyEventsResponse.Builder addKeyEvents(int index, KeyEvent value)

The requested Key Events

repeated .google.analytics.admin.v1alpha.KeyEvent key_events = 1;

Parameters
Name Description
index int
value KeyEvent
Returns
Type Description
ListKeyEventsResponse.Builder

addKeyEvents(int index, KeyEvent.Builder builderForValue)

public ListKeyEventsResponse.Builder addKeyEvents(int index, KeyEvent.Builder builderForValue)

The requested Key Events

repeated .google.analytics.admin.v1alpha.KeyEvent key_events = 1;

Parameters
Name Description
index int
builderForValue KeyEvent.Builder
Returns
Type Description
ListKeyEventsResponse.Builder

addKeyEventsBuilder()

public KeyEvent.Builder addKeyEventsBuilder()

The requested Key Events

repeated .google.analytics.admin.v1alpha.KeyEvent key_events = 1;

Returns
Type Description
KeyEvent.Builder

addKeyEventsBuilder(int index)

public KeyEvent.Builder addKeyEventsBuilder(int index)

The requested Key Events

repeated .google.analytics.admin.v1alpha.KeyEvent key_events = 1;

Parameter
Name Description
index int
Returns
Type Description
KeyEvent.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListKeyEventsResponse build()
Returns
Type Description
ListKeyEventsResponse

buildPartial()

public ListKeyEventsResponse buildPartial()
Returns
Type Description
ListKeyEventsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearKeyEvents()

public ListKeyEventsResponse.Builder clearKeyEvents()

The requested Key Events

repeated .google.analytics.admin.v1alpha.KeyEvent key_events = 1;

Returns
Type Description
ListKeyEventsResponse.Builder

clearNextPageToken()

public ListKeyEventsResponse.Builder clearNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ListKeyEventsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListKeyEventsResponse getDefaultInstanceForType()
Returns
Type Description
ListKeyEventsResponse

getDescriptorForType()

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

getKeyEvents(int index)

public KeyEvent getKeyEvents(int index)

The requested Key Events

repeated .google.analytics.admin.v1alpha.KeyEvent key_events = 1;

Parameter
Name Description
index int
Returns
Type Description
KeyEvent

getKeyEventsBuilder(int index)

public KeyEvent.Builder getKeyEventsBuilder(int index)

The requested Key Events

repeated .google.analytics.admin.v1alpha.KeyEvent key_events = 1;

Parameter
Name Description
index int
Returns
Type Description
KeyEvent.Builder

getKeyEventsBuilderList()

public List<KeyEvent.Builder> getKeyEventsBuilderList()

The requested Key Events

repeated .google.analytics.admin.v1alpha.KeyEvent key_events = 1;

Returns
Type Description
List<Builder>

getKeyEventsCount()

public int getKeyEventsCount()

The requested Key Events

repeated .google.analytics.admin.v1alpha.KeyEvent key_events = 1;

Returns
Type Description
int

getKeyEventsList()

public List<KeyEvent> getKeyEventsList()

The requested Key Events

repeated .google.analytics.admin.v1alpha.KeyEvent key_events = 1;

Returns
Type Description
List<KeyEvent>

getKeyEventsOrBuilder(int index)

public KeyEventOrBuilder getKeyEventsOrBuilder(int index)

The requested Key Events

repeated .google.analytics.admin.v1alpha.KeyEvent key_events = 1;

Parameter
Name Description
index int
Returns
Type Description
KeyEventOrBuilder

getKeyEventsOrBuilderList()

public List<? extends KeyEventOrBuilder> getKeyEventsOrBuilderList()

The requested Key Events

repeated .google.analytics.admin.v1alpha.KeyEvent key_events = 1;

Returns
Type Description
List<? extends com.google.analytics.admin.v1alpha.KeyEventOrBuilder>

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListKeyEventsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeKeyEvents(int index)

public ListKeyEventsResponse.Builder removeKeyEvents(int index)

The requested Key Events

repeated .google.analytics.admin.v1alpha.KeyEvent key_events = 1;

Parameter
Name Description
index int
Returns
Type Description
ListKeyEventsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setKeyEvents(int index, KeyEvent value)

public ListKeyEventsResponse.Builder setKeyEvents(int index, KeyEvent value)

The requested Key Events

repeated .google.analytics.admin.v1alpha.KeyEvent key_events = 1;

Parameters
Name Description
index int
value KeyEvent
Returns
Type Description
ListKeyEventsResponse.Builder

setKeyEvents(int index, KeyEvent.Builder builderForValue)

public ListKeyEventsResponse.Builder setKeyEvents(int index, KeyEvent.Builder builderForValue)

The requested Key Events

repeated .google.analytics.admin.v1alpha.KeyEvent key_events = 1;

Parameters
Name Description
index int
builderForValue KeyEvent.Builder
Returns
Type Description
ListKeyEventsResponse.Builder

setNextPageToken(String value)

public ListKeyEventsResponse.Builder setNextPageToken(String value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListKeyEventsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListKeyEventsResponse.Builder setNextPageTokenBytes(ByteString value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListKeyEventsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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