Send feedback
Class ListViewsResponse.Builder (3.9.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.9.0 keyboard_arrow_down
public static final class ListViewsResponse . Builder extends GeneratedMessageV3 . Builder<ListViewsResponse . Builder > implements ListViewsResponseOrBuilder
The response from ListViews.
Protobuf type google.logging.v2.ListViewsResponse
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
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 >
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListViewsResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
addViews(LogView value)
public ListViewsResponse . Builder addViews ( LogView value )
A list of views.
repeated .google.logging.v2.LogView views = 1;
Parameter
Returns
addViews(LogView.Builder builderForValue)
public ListViewsResponse . Builder addViews ( LogView . Builder builderForValue )
A list of views.
repeated .google.logging.v2.LogView views = 1;
Parameter
Returns
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
Returns
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;
Parameters
Returns
addViewsBuilder()
public LogView . Builder addViewsBuilder ()
A list of views.
repeated .google.logging.v2.LogView views = 1;
Returns
addViewsBuilder(int index)
public LogView . Builder addViewsBuilder ( int index )
A list of views.
repeated .google.logging.v2.LogView views = 1;
Parameter
Returns
build()
public ListViewsResponse build ()
Returns
buildPartial()
public ListViewsResponse buildPartial ()
Returns
clear()
public ListViewsResponse . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListViewsResponse . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
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;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListViewsResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearViews()
public ListViewsResponse . Builder clearViews ()
A list of views.
repeated .google.logging.v2.LogView views = 1;
Returns
clone()
public ListViewsResponse . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public ListViewsResponse getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
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
Returns
getViewsBuilder(int index)
public LogView . Builder getViewsBuilder ( int index )
A list of views.
repeated .google.logging.v2.LogView views = 1;
Parameter
Returns
getViewsBuilderList()
public List<LogView . Builder > getViewsBuilderList ()
A list of views.
repeated .google.logging.v2.LogView views = 1;
Returns
getViewsCount()
public int getViewsCount ()
A list of views.
repeated .google.logging.v2.LogView views = 1;
Returns
getViewsList()
public List<LogView> getViewsList ()
A list of views.
repeated .google.logging.v2.LogView views = 1;
Returns
getViewsOrBuilder(int index)
public LogViewOrBuilder getViewsOrBuilder ( int index )
A list of views.
repeated .google.logging.v2.LogView views = 1;
Parameter
Returns
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 ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(ListViewsResponse other)
public ListViewsResponse . Builder mergeFrom ( ListViewsResponse other )
Parameter
Returns
public ListViewsResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListViewsResponse . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListViewsResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
removeViews(int index)
public ListViewsResponse . Builder removeViews ( int index )
A list of views.
repeated .google.logging.v2.LogView views = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListViewsResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
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.
Returns
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.
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListViewsResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListViewsResponse . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
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
Returns
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;
Parameters
Returns
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]