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
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
addExclusions(LogExclusion value)
public ListExclusionsResponse.Builder addExclusions(LogExclusion value)
A list of exclusions.
repeated .google.logging.v2.LogExclusion exclusions = 1;
Parameter
Returns
addExclusions(LogExclusion.Builder builderForValue)
public ListExclusionsResponse.Builder addExclusions(LogExclusion.Builder builderForValue)
A list of exclusions.
repeated .google.logging.v2.LogExclusion exclusions = 1;
Parameter
Returns
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
Returns
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
Returns
addExclusionsBuilder()
public LogExclusion.Builder addExclusionsBuilder()
A list of exclusions.
repeated .google.logging.v2.LogExclusion exclusions = 1;
Returns
addExclusionsBuilder(int index)
public LogExclusion.Builder addExclusionsBuilder(int index)
A list of exclusions.
repeated .google.logging.v2.LogExclusion exclusions = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListExclusionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListExclusionsResponse build()
Returns
buildPartial()
public ListExclusionsResponse buildPartial()
Returns
clear()
public ListExclusionsResponse.Builder clear()
Returns
Overrides
clearExclusions()
public ListExclusionsResponse.Builder clearExclusions()
A list of exclusions.
repeated .google.logging.v2.LogExclusion exclusions = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListExclusionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListExclusionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListExclusionsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListExclusionsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getExclusions(int index)
public LogExclusion getExclusions(int index)
A list of exclusions.
repeated .google.logging.v2.LogExclusion exclusions = 1;
Parameter
Returns
getExclusionsBuilder(int index)
public LogExclusion.Builder getExclusionsBuilder(int index)
A list of exclusions.
repeated .google.logging.v2.LogExclusion exclusions = 1;
Parameter
Returns
getExclusionsBuilderList()
public List<LogExclusion.Builder> getExclusionsBuilderList()
A list of exclusions.
repeated .google.logging.v2.LogExclusion exclusions = 1;
Returns
getExclusionsCount()
public int getExclusionsCount()
A list of exclusions.
repeated .google.logging.v2.LogExclusion exclusions = 1;
Returns
getExclusionsList()
public List<LogExclusion> getExclusionsList()
A list of exclusions.
repeated .google.logging.v2.LogExclusion exclusions = 1;
Returns
getExclusionsOrBuilder(int index)
public LogExclusionOrBuilder getExclusionsOrBuilder(int index)
A list of exclusions.
repeated .google.logging.v2.LogExclusion exclusions = 1;
Parameter
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListExclusionsResponse other)
public ListExclusionsResponse.Builder mergeFrom(ListExclusionsResponse other)
Parameter
Returns
public ListExclusionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListExclusionsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListExclusionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeExclusions(int index)
public ListExclusionsResponse.Builder removeExclusions(int index)
A list of exclusions.
repeated .google.logging.v2.LogExclusion exclusions = 1;
Parameter
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListExclusionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListExclusionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListExclusionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides