Class SearchChangeHistoryEventsResponse.Builder (0.23.0)

public static final class SearchChangeHistoryEventsResponse.Builder extends GeneratedMessageV3.Builder<SearchChangeHistoryEventsResponse.Builder> implements SearchChangeHistoryEventsResponseOrBuilder

Response message for SearchAccounts RPC.

Protobuf type google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse

Static Methods

getDescriptor()

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

Methods

addAllChangeHistoryEvents(Iterable<? extends ChangeHistoryEvent> values)

public SearchChangeHistoryEventsResponse.Builder addAllChangeHistoryEvents(Iterable<? extends ChangeHistoryEvent> values)

Results that were accessible to the caller.

repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1;

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

addChangeHistoryEvents(ChangeHistoryEvent value)

public SearchChangeHistoryEventsResponse.Builder addChangeHistoryEvents(ChangeHistoryEvent value)

Results that were accessible to the caller.

repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1;

Parameter
NameDescription
valueChangeHistoryEvent
Returns
TypeDescription
SearchChangeHistoryEventsResponse.Builder

addChangeHistoryEvents(ChangeHistoryEvent.Builder builderForValue)

public SearchChangeHistoryEventsResponse.Builder addChangeHistoryEvents(ChangeHistoryEvent.Builder builderForValue)

Results that were accessible to the caller.

repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1;

Parameter
NameDescription
builderForValueChangeHistoryEvent.Builder
Returns
TypeDescription
SearchChangeHistoryEventsResponse.Builder

addChangeHistoryEvents(int index, ChangeHistoryEvent value)

public SearchChangeHistoryEventsResponse.Builder addChangeHistoryEvents(int index, ChangeHistoryEvent value)

Results that were accessible to the caller.

repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1;

Parameters
NameDescription
indexint
valueChangeHistoryEvent
Returns
TypeDescription
SearchChangeHistoryEventsResponse.Builder

addChangeHistoryEvents(int index, ChangeHistoryEvent.Builder builderForValue)

public SearchChangeHistoryEventsResponse.Builder addChangeHistoryEvents(int index, ChangeHistoryEvent.Builder builderForValue)

Results that were accessible to the caller.

repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1;

Parameters
NameDescription
indexint
builderForValueChangeHistoryEvent.Builder
Returns
TypeDescription
SearchChangeHistoryEventsResponse.Builder

addChangeHistoryEventsBuilder()

public ChangeHistoryEvent.Builder addChangeHistoryEventsBuilder()

Results that were accessible to the caller.

repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1;

Returns
TypeDescription
ChangeHistoryEvent.Builder

addChangeHistoryEventsBuilder(int index)

public ChangeHistoryEvent.Builder addChangeHistoryEventsBuilder(int index)

Results that were accessible to the caller.

repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ChangeHistoryEvent.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SearchChangeHistoryEventsResponse build()
Returns
TypeDescription
SearchChangeHistoryEventsResponse

buildPartial()

public SearchChangeHistoryEventsResponse buildPartial()
Returns
TypeDescription
SearchChangeHistoryEventsResponse

clear()

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

clearChangeHistoryEvents()

public SearchChangeHistoryEventsResponse.Builder clearChangeHistoryEvents()

Results that were accessible to the caller.

repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1;

Returns
TypeDescription
SearchChangeHistoryEventsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getChangeHistoryEvents(int index)

public ChangeHistoryEvent getChangeHistoryEvents(int index)

Results that were accessible to the caller.

repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ChangeHistoryEvent

getChangeHistoryEventsBuilder(int index)

public ChangeHistoryEvent.Builder getChangeHistoryEventsBuilder(int index)

Results that were accessible to the caller.

repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ChangeHistoryEvent.Builder

getChangeHistoryEventsBuilderList()

public List<ChangeHistoryEvent.Builder> getChangeHistoryEventsBuilderList()

Results that were accessible to the caller.

repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1;

Returns
TypeDescription
List<Builder>

getChangeHistoryEventsCount()

public int getChangeHistoryEventsCount()

Results that were accessible to the caller.

repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1;

Returns
TypeDescription
int

getChangeHistoryEventsList()

public List<ChangeHistoryEvent> getChangeHistoryEventsList()

Results that were accessible to the caller.

repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1;

Returns
TypeDescription
List<ChangeHistoryEvent>

getChangeHistoryEventsOrBuilder(int index)

public ChangeHistoryEventOrBuilder getChangeHistoryEventsOrBuilder(int index)

Results that were accessible to the caller.

repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ChangeHistoryEventOrBuilder

getChangeHistoryEventsOrBuilderList()

public List<? extends ChangeHistoryEventOrBuilder> getChangeHistoryEventsOrBuilderList()

Results that were accessible to the caller.

repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1;

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

getDefaultInstanceForType()

public SearchChangeHistoryEventsResponse getDefaultInstanceForType()
Returns
TypeDescription
SearchChangeHistoryEventsResponse

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(SearchChangeHistoryEventsResponse other)

public SearchChangeHistoryEventsResponse.Builder mergeFrom(SearchChangeHistoryEventsResponse other)
Parameter
NameDescription
otherSearchChangeHistoryEventsResponse
Returns
TypeDescription
SearchChangeHistoryEventsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeChangeHistoryEvents(int index)

public SearchChangeHistoryEventsResponse.Builder removeChangeHistoryEvents(int index)

Results that were accessible to the caller.

repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SearchChangeHistoryEventsResponse.Builder

setChangeHistoryEvents(int index, ChangeHistoryEvent value)

public SearchChangeHistoryEventsResponse.Builder setChangeHistoryEvents(int index, ChangeHistoryEvent value)

Results that were accessible to the caller.

repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1;

Parameters
NameDescription
indexint
valueChangeHistoryEvent
Returns
TypeDescription
SearchChangeHistoryEventsResponse.Builder

setChangeHistoryEvents(int index, ChangeHistoryEvent.Builder builderForValue)

public SearchChangeHistoryEventsResponse.Builder setChangeHistoryEvents(int index, ChangeHistoryEvent.Builder builderForValue)

Results that were accessible to the caller.

repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1;

Parameters
NameDescription
indexint
builderForValueChangeHistoryEvent.Builder
Returns
TypeDescription
SearchChangeHistoryEventsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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