Class ListExclusionsResponse.Builder (3.7.6)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.logging.v2.LogExclusion>
Returns
TypeDescription
ListExclusionsResponse.Builder

addExclusions(LogExclusion value)

public ListExclusionsResponse.Builder addExclusions(LogExclusion value)

A list of exclusions.

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

Parameter
NameDescription
valueLogExclusion
Returns
TypeDescription
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
NameDescription
builderForValueLogExclusion.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueLogExclusion
Returns
TypeDescription
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
NameDescription
indexint
builderForValueLogExclusion.Builder
Returns
TypeDescription
ListExclusionsResponse.Builder

addExclusionsBuilder()

public LogExclusion.Builder addExclusionsBuilder()

A list of exclusions.

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

Returns
TypeDescription
LogExclusion.Builder

addExclusionsBuilder(int index)

public LogExclusion.Builder addExclusionsBuilder(int index)

A list of exclusions.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
LogExclusion.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListExclusionsResponse build()
Returns
TypeDescription
ListExclusionsResponse

buildPartial()

public ListExclusionsResponse buildPartial()
Returns
TypeDescription
ListExclusionsResponse

clear()

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

clearExclusions()

public ListExclusionsResponse.Builder clearExclusions()

A list of exclusions.

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

Returns
TypeDescription
ListExclusionsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListExclusionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListExclusionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListExclusionsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListExclusionsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getExclusions(int index)

public LogExclusion getExclusions(int index)

A list of exclusions.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
LogExclusion

getExclusionsBuilder(int index)

public LogExclusion.Builder getExclusionsBuilder(int index)

A list of exclusions.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
LogExclusion.Builder

getExclusionsBuilderList()

public List<LogExclusion.Builder> getExclusionsBuilderList()

A list of exclusions.

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

Returns
TypeDescription
List<Builder>

getExclusionsCount()

public int getExclusionsCount()

A list of exclusions.

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

Returns
TypeDescription
int

getExclusionsList()

public List<LogExclusion> getExclusionsList()

A list of exclusions.

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

Returns
TypeDescription
List<LogExclusion>

getExclusionsOrBuilder(int index)

public LogExclusionOrBuilder getExclusionsOrBuilder(int index)

A list of exclusions.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
LogExclusionOrBuilder

getExclusionsOrBuilderList()

public List<? extends LogExclusionOrBuilder> getExclusionsOrBuilderList()

A list of exclusions.

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

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

public ListExclusionsResponse.Builder mergeFrom(ListExclusionsResponse other)
Parameter
NameDescription
otherListExclusionsResponse
Returns
TypeDescription
ListExclusionsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeExclusions(int index)

public ListExclusionsResponse.Builder removeExclusions(int index)

A list of exclusions.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueLogExclusion
Returns
TypeDescription
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
NameDescription
indexint
builderForValueLogExclusion.Builder
Returns
TypeDescription
ListExclusionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListExclusionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListExclusionsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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