Class ListExclusionsResponse.Builder (3.17.1)

public static final class ListExclusionsResponse.Builder extends GeneratedMessageV3.Builder<ListExclusionsResponse.Builder> implements ListExclusionsResponseOrBuilder

Result returned from ListExclusions.

Protobuf type google.logging.v2.ListExclusionsResponse

Static Methods

getDescriptor()

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

Methods

addAllExclusions(Iterable<? extends LogExclusion> values)

public ListExclusionsResponse.Builder addAllExclusions(Iterable<? extends LogExclusion> values)

A list of exclusions.

repeated .google.logging.v2.LogExclusion exclusions = 1;

Parameter
Name Description
values Iterable<? extends com.google.logging.v2.LogExclusion>
Returns
Type Description
ListExclusionsResponse.Builder

addExclusions(LogExclusion value)

public ListExclusionsResponse.Builder addExclusions(LogExclusion value)

A list of exclusions.

repeated .google.logging.v2.LogExclusion exclusions = 1;

Parameter
Name Description
value LogExclusion
Returns
Type Description
ListExclusionsResponse.Builder

addExclusions(LogExclusion.Builder builderForValue)

public ListExclusionsResponse.Builder addExclusions(LogExclusion.Builder builderForValue)

A list of exclusions.

repeated .google.logging.v2.LogExclusion exclusions = 1;

Parameter
Name Description
builderForValue LogExclusion.Builder
Returns
Type Description
ListExclusionsResponse.Builder

addExclusions(int index, LogExclusion value)

public ListExclusionsResponse.Builder addExclusions(int index, LogExclusion value)

A list of exclusions.

repeated .google.logging.v2.LogExclusion exclusions = 1;

Parameters
Name Description
index int
value LogExclusion
Returns
Type Description
ListExclusionsResponse.Builder

addExclusions(int index, LogExclusion.Builder builderForValue)

public ListExclusionsResponse.Builder addExclusions(int index, LogExclusion.Builder builderForValue)

A list of exclusions.

repeated .google.logging.v2.LogExclusion exclusions = 1;

Parameters
Name Description
index int
builderForValue LogExclusion.Builder
Returns
Type Description
ListExclusionsResponse.Builder

addExclusionsBuilder()

public LogExclusion.Builder addExclusionsBuilder()

A list of exclusions.

repeated .google.logging.v2.LogExclusion exclusions = 1;

Returns
Type Description
LogExclusion.Builder

addExclusionsBuilder(int index)

public LogExclusion.Builder addExclusionsBuilder(int index)

A list of exclusions.

repeated .google.logging.v2.LogExclusion exclusions = 1;

Parameter
Name Description
index int
Returns
Type Description
LogExclusion.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListExclusionsResponse build()
Returns
Type Description
ListExclusionsResponse

buildPartial()

public ListExclusionsResponse buildPartial()
Returns
Type Description
ListExclusionsResponse

clear()

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

clearExclusions()

public ListExclusionsResponse.Builder clearExclusions()

A list of exclusions.

repeated .google.logging.v2.LogExclusion exclusions = 1;

Returns
Type Description
ListExclusionsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListExclusionsResponse.Builder clearNextPageToken()

If there might be more results than appear in this response, then nextPageToken is included. To get the next set of results, call the same method again using the value of nextPageToken as pageToken.

string next_page_token = 2;

Returns
Type Description
ListExclusionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListExclusionsResponse getDefaultInstanceForType()
Returns
Type Description
ListExclusionsResponse

getDescriptorForType()

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

getExclusions(int index)

public LogExclusion getExclusions(int index)

A list of exclusions.

repeated .google.logging.v2.LogExclusion exclusions = 1;

Parameter
Name Description
index int
Returns
Type Description
LogExclusion

getExclusionsBuilder(int index)

public LogExclusion.Builder getExclusionsBuilder(int index)

A list of exclusions.

repeated .google.logging.v2.LogExclusion exclusions = 1;

Parameter
Name Description
index int
Returns
Type Description
LogExclusion.Builder

getExclusionsBuilderList()

public List<LogExclusion.Builder> getExclusionsBuilderList()

A list of exclusions.

repeated .google.logging.v2.LogExclusion exclusions = 1;

Returns
Type Description
List<Builder>

getExclusionsCount()

public int getExclusionsCount()

A list of exclusions.

repeated .google.logging.v2.LogExclusion exclusions = 1;

Returns
Type Description
int

getExclusionsList()

public List<LogExclusion> getExclusionsList()

A list of exclusions.

repeated .google.logging.v2.LogExclusion exclusions = 1;

Returns
Type Description
List<LogExclusion>

getExclusionsOrBuilder(int index)

public LogExclusionOrBuilder getExclusionsOrBuilder(int index)

A list of exclusions.

repeated .google.logging.v2.LogExclusion exclusions = 1;

Parameter
Name Description
index int
Returns
Type Description
LogExclusionOrBuilder

getExclusionsOrBuilderList()

public List<? extends LogExclusionOrBuilder> getExclusionsOrBuilderList()

A list of exclusions.

repeated .google.logging.v2.LogExclusion exclusions = 1;

Returns
Type Description
List<? extends com.google.logging.v2.LogExclusionOrBuilder>

getNextPageToken()

public String getNextPageToken()

If there might be more results than appear in this response, then nextPageToken is included. To get the next set of results, call the same method again using the value of nextPageToken as pageToken.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

If there might be more results than appear in this response, then nextPageToken is included. To get the next set of results, call the same method again using the value of nextPageToken as pageToken.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeExclusions(int index)

public ListExclusionsResponse.Builder removeExclusions(int index)

A list of exclusions.

repeated .google.logging.v2.LogExclusion exclusions = 1;

Parameter
Name Description
index int
Returns
Type Description
ListExclusionsResponse.Builder

setExclusions(int index, LogExclusion value)

public ListExclusionsResponse.Builder setExclusions(int index, LogExclusion value)

A list of exclusions.

repeated .google.logging.v2.LogExclusion exclusions = 1;

Parameters
Name Description
index int
value LogExclusion
Returns
Type Description
ListExclusionsResponse.Builder

setExclusions(int index, LogExclusion.Builder builderForValue)

public ListExclusionsResponse.Builder setExclusions(int index, LogExclusion.Builder builderForValue)

A list of exclusions.

repeated .google.logging.v2.LogExclusion exclusions = 1;

Parameters
Name Description
index int
builderForValue LogExclusion.Builder
Returns
Type Description
ListExclusionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListExclusionsResponse.Builder setNextPageToken(String value)

If there might be more results than appear in this response, then nextPageToken is included. To get the next set of results, call the same method again using the value of nextPageToken as pageToken.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListExclusionsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListExclusionsResponse.Builder setNextPageTokenBytes(ByteString value)

If there might be more results than appear in this response, then nextPageToken is included. To get the next set of results, call the same method again using the value of nextPageToken as pageToken.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListExclusionsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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