Class ListConversionEventsResponse.Builder (0.24.0)

public static final class ListConversionEventsResponse.Builder extends GeneratedMessageV3.Builder<ListConversionEventsResponse.Builder> implements ListConversionEventsResponseOrBuilder

Response message for ListConversionEvents RPC.

Protobuf type google.analytics.admin.v1alpha.ListConversionEventsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllConversionEvents(Iterable<? extends ConversionEvent> values)

public ListConversionEventsResponse.Builder addAllConversionEvents(Iterable<? extends ConversionEvent> values)

The requested conversion events

repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.analytics.admin.v1alpha.ConversionEvent>
Returns
TypeDescription
ListConversionEventsResponse.Builder

addConversionEvents(ConversionEvent value)

public ListConversionEventsResponse.Builder addConversionEvents(ConversionEvent value)

The requested conversion events

repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1;

Parameter
NameDescription
valueConversionEvent
Returns
TypeDescription
ListConversionEventsResponse.Builder

addConversionEvents(ConversionEvent.Builder builderForValue)

public ListConversionEventsResponse.Builder addConversionEvents(ConversionEvent.Builder builderForValue)

The requested conversion events

repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1;

Parameter
NameDescription
builderForValueConversionEvent.Builder
Returns
TypeDescription
ListConversionEventsResponse.Builder

addConversionEvents(int index, ConversionEvent value)

public ListConversionEventsResponse.Builder addConversionEvents(int index, ConversionEvent value)

The requested conversion events

repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1;

Parameters
NameDescription
indexint
valueConversionEvent
Returns
TypeDescription
ListConversionEventsResponse.Builder

addConversionEvents(int index, ConversionEvent.Builder builderForValue)

public ListConversionEventsResponse.Builder addConversionEvents(int index, ConversionEvent.Builder builderForValue)

The requested conversion events

repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1;

Parameters
NameDescription
indexint
builderForValueConversionEvent.Builder
Returns
TypeDescription
ListConversionEventsResponse.Builder

addConversionEventsBuilder()

public ConversionEvent.Builder addConversionEventsBuilder()

The requested conversion events

repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1;

Returns
TypeDescription
ConversionEvent.Builder

addConversionEventsBuilder(int index)

public ConversionEvent.Builder addConversionEventsBuilder(int index)

The requested conversion events

repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ConversionEvent.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListConversionEventsResponse build()
Returns
TypeDescription
ListConversionEventsResponse

buildPartial()

public ListConversionEventsResponse buildPartial()
Returns
TypeDescription
ListConversionEventsResponse

clear()

public ListConversionEventsResponse.Builder clear()
Returns
TypeDescription
ListConversionEventsResponse.Builder
Overrides

clearConversionEvents()

public ListConversionEventsResponse.Builder clearConversionEvents()

The requested conversion events

repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1;

Returns
TypeDescription
ListConversionEventsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListConversionEventsResponse.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
TypeDescription
ListConversionEventsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListConversionEventsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListConversionEventsResponse.Builder
Overrides

clone()

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

getConversionEvents(int index)

public ConversionEvent getConversionEvents(int index)

The requested conversion events

repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ConversionEvent

getConversionEventsBuilder(int index)

public ConversionEvent.Builder getConversionEventsBuilder(int index)

The requested conversion events

repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ConversionEvent.Builder

getConversionEventsBuilderList()

public List<ConversionEvent.Builder> getConversionEventsBuilderList()

The requested conversion events

repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1;

Returns
TypeDescription
List<Builder>

getConversionEventsCount()

public int getConversionEventsCount()

The requested conversion events

repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1;

Returns
TypeDescription
int

getConversionEventsList()

public List<ConversionEvent> getConversionEventsList()

The requested conversion events

repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1;

Returns
TypeDescription
List<ConversionEvent>

getConversionEventsOrBuilder(int index)

public ConversionEventOrBuilder getConversionEventsOrBuilder(int index)

The requested conversion events

repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ConversionEventOrBuilder

getConversionEventsOrBuilderList()

public List<? extends ConversionEventOrBuilder> getConversionEventsOrBuilderList()

The requested conversion events

repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1;

Returns
TypeDescription
List<? extends com.google.analytics.admin.v1alpha.ConversionEventOrBuilder>

getDefaultInstanceForType()

public ListConversionEventsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListConversionEventsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListConversionEventsResponse other)

public ListConversionEventsResponse.Builder mergeFrom(ListConversionEventsResponse other)
Parameter
NameDescription
otherListConversionEventsResponse
Returns
TypeDescription
ListConversionEventsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListConversionEventsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListConversionEventsResponse.Builder
Overrides

removeConversionEvents(int index)

public ListConversionEventsResponse.Builder removeConversionEvents(int index)

The requested conversion events

repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListConversionEventsResponse.Builder

setConversionEvents(int index, ConversionEvent value)

public ListConversionEventsResponse.Builder setConversionEvents(int index, ConversionEvent value)

The requested conversion events

repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1;

Parameters
NameDescription
indexint
valueConversionEvent
Returns
TypeDescription
ListConversionEventsResponse.Builder

setConversionEvents(int index, ConversionEvent.Builder builderForValue)

public ListConversionEventsResponse.Builder setConversionEvents(int index, ConversionEvent.Builder builderForValue)

The requested conversion events

repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1;

Parameters
NameDescription
indexint
builderForValueConversionEvent.Builder
Returns
TypeDescription
ListConversionEventsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListConversionEventsResponse.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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListConversionEventsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListConversionEventsResponse.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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListConversionEventsResponse.Builder

This builder for chaining.

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

public ListConversionEventsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListConversionEventsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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