public static final class ListViewsResponse.Builder extends GeneratedMessageV3.Builder<ListViewsResponse.Builder> implements ListViewsResponseOrBuilder
The response from ListViews.
Protobuf type google.logging.v2.ListViewsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllViews(Iterable<? extends LogView> values)
public ListViewsResponse.Builder addAllViews(Iterable<? extends LogView> values)
A list of views.
repeated .google.logging.v2.LogView views = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.logging.v2.LogView>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListViewsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addViews(LogView value)
public ListViewsResponse.Builder addViews(LogView value)
A list of views.
repeated .google.logging.v2.LogView views = 1;
Parameter |
Name |
Description |
value |
LogView
|
addViews(LogView.Builder builderForValue)
public ListViewsResponse.Builder addViews(LogView.Builder builderForValue)
A list of views.
repeated .google.logging.v2.LogView views = 1;
addViews(int index, LogView value)
public ListViewsResponse.Builder addViews(int index, LogView value)
A list of views.
repeated .google.logging.v2.LogView views = 1;
Parameters |
Name |
Description |
index |
int
|
value |
LogView
|
addViews(int index, LogView.Builder builderForValue)
public ListViewsResponse.Builder addViews(int index, LogView.Builder builderForValue)
A list of views.
repeated .google.logging.v2.LogView views = 1;
addViewsBuilder()
public LogView.Builder addViewsBuilder()
A list of views.
repeated .google.logging.v2.LogView views = 1;
addViewsBuilder(int index)
public LogView.Builder addViewsBuilder(int index)
A list of views.
repeated .google.logging.v2.LogView views = 1;
Parameter |
Name |
Description |
index |
int
|
build()
public ListViewsResponse build()
buildPartial()
public ListViewsResponse buildPartial()
clear()
public ListViewsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListViewsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListViewsResponse.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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListViewsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearViews()
public ListViewsResponse.Builder clearViews()
A list of views.
repeated .google.logging.v2.LogView views = 1;
clone()
public ListViewsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListViewsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
getViews(int index)
public LogView getViews(int index)
A list of views.
repeated .google.logging.v2.LogView views = 1;
Parameter |
Name |
Description |
index |
int
|
getViewsBuilder(int index)
public LogView.Builder getViewsBuilder(int index)
A list of views.
repeated .google.logging.v2.LogView views = 1;
Parameter |
Name |
Description |
index |
int
|
getViewsBuilderList()
public List<LogView.Builder> getViewsBuilderList()
A list of views.
repeated .google.logging.v2.LogView views = 1;
getViewsCount()
public int getViewsCount()
A list of views.
repeated .google.logging.v2.LogView views = 1;
Returns |
Type |
Description |
int |
|
getViewsList()
public List<LogView> getViewsList()
A list of views.
repeated .google.logging.v2.LogView views = 1;
getViewsOrBuilder(int index)
public LogViewOrBuilder getViewsOrBuilder(int index)
A list of views.
repeated .google.logging.v2.LogView views = 1;
Parameter |
Name |
Description |
index |
int
|
getViewsOrBuilderList()
public List<? extends LogViewOrBuilder> getViewsOrBuilderList()
A list of views.
repeated .google.logging.v2.LogView views = 1;
Returns |
Type |
Description |
List<? extends com.google.logging.v2.LogViewOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListViewsResponse other)
public ListViewsResponse.Builder mergeFrom(ListViewsResponse other)
public ListViewsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListViewsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListViewsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeViews(int index)
public ListViewsResponse.Builder removeViews(int index)
A list of views.
repeated .google.logging.v2.LogView views = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListViewsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListViewsResponse.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.
|
setNextPageTokenBytes(ByteString value)
public ListViewsResponse.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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListViewsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListViewsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setViews(int index, LogView value)
public ListViewsResponse.Builder setViews(int index, LogView value)
A list of views.
repeated .google.logging.v2.LogView views = 1;
Parameters |
Name |
Description |
index |
int
|
value |
LogView
|
setViews(int index, LogView.Builder builderForValue)
public ListViewsResponse.Builder setViews(int index, LogView.Builder builderForValue)
A list of views.
repeated .google.logging.v2.LogView views = 1;