public static final class ListRevisionsResponse.Builder extends GeneratedMessageV3.Builder<ListRevisionsResponse.Builder> implements ListRevisionsResponseOrBuilder
Response message containing a list of Revisions.
Protobuf type google.cloud.run.v2.ListRevisionsResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllRevisions(Iterable<? extends Revision> values)
public ListRevisionsResponse.Builder addAllRevisions(Iterable<? extends Revision> values)
The resulting list of Revisions.
repeated .google.cloud.run.v2.Revision revisions = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.run.v2.Revision>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListRevisionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addRevisions(Revision value)
public ListRevisionsResponse.Builder addRevisions(Revision value)
The resulting list of Revisions.
repeated .google.cloud.run.v2.Revision revisions = 1;
Parameter
Returns
addRevisions(Revision.Builder builderForValue)
public ListRevisionsResponse.Builder addRevisions(Revision.Builder builderForValue)
The resulting list of Revisions.
repeated .google.cloud.run.v2.Revision revisions = 1;
Parameter
Returns
addRevisions(int index, Revision value)
public ListRevisionsResponse.Builder addRevisions(int index, Revision value)
The resulting list of Revisions.
repeated .google.cloud.run.v2.Revision revisions = 1;
Parameters
Returns
addRevisions(int index, Revision.Builder builderForValue)
public ListRevisionsResponse.Builder addRevisions(int index, Revision.Builder builderForValue)
The resulting list of Revisions.
repeated .google.cloud.run.v2.Revision revisions = 1;
Parameters
Returns
addRevisionsBuilder()
public Revision.Builder addRevisionsBuilder()
The resulting list of Revisions.
repeated .google.cloud.run.v2.Revision revisions = 1;
Returns
addRevisionsBuilder(int index)
public Revision.Builder addRevisionsBuilder(int index)
The resulting list of Revisions.
repeated .google.cloud.run.v2.Revision revisions = 1;
Parameter
Returns
build()
public ListRevisionsResponse build()
Returns
buildPartial()
public ListRevisionsResponse buildPartial()
Returns
clear()
public ListRevisionsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListRevisionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListRevisionsResponse.Builder clearNextPageToken()
A token indicating there are more items than page_size. Use it in the next
ListRevisions request to continue.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListRevisionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearRevisions()
public ListRevisionsResponse.Builder clearRevisions()
The resulting list of Revisions.
repeated .google.cloud.run.v2.Revision revisions = 1;
Returns
clone()
public ListRevisionsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListRevisionsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNextPageToken()
public String getNextPageToken()
A token indicating there are more items than page_size. Use it in the next
ListRevisions request to continue.
string next_page_token = 2;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token indicating there are more items than page_size. Use it in the next
ListRevisions request to continue.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
getRevisions(int index)
public Revision getRevisions(int index)
The resulting list of Revisions.
repeated .google.cloud.run.v2.Revision revisions = 1;
Parameter
Returns
getRevisionsBuilder(int index)
public Revision.Builder getRevisionsBuilder(int index)
The resulting list of Revisions.
repeated .google.cloud.run.v2.Revision revisions = 1;
Parameter
Returns
getRevisionsBuilderList()
public List<Revision.Builder> getRevisionsBuilderList()
The resulting list of Revisions.
repeated .google.cloud.run.v2.Revision revisions = 1;
Returns
getRevisionsCount()
public int getRevisionsCount()
The resulting list of Revisions.
repeated .google.cloud.run.v2.Revision revisions = 1;
Returns
getRevisionsList()
public List<Revision> getRevisionsList()
The resulting list of Revisions.
repeated .google.cloud.run.v2.Revision revisions = 1;
Returns
getRevisionsOrBuilder(int index)
public RevisionOrBuilder getRevisionsOrBuilder(int index)
The resulting list of Revisions.
repeated .google.cloud.run.v2.Revision revisions = 1;
Parameter
Returns
getRevisionsOrBuilderList()
public List<? extends RevisionOrBuilder> getRevisionsOrBuilderList()
The resulting list of Revisions.
repeated .google.cloud.run.v2.Revision revisions = 1;
Returns
Type | Description |
List<? extends com.google.cloud.run.v2.RevisionOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListRevisionsResponse other)
public ListRevisionsResponse.Builder mergeFrom(ListRevisionsResponse other)
Parameter
Returns
public ListRevisionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListRevisionsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListRevisionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeRevisions(int index)
public ListRevisionsResponse.Builder removeRevisions(int index)
The resulting list of Revisions.
repeated .google.cloud.run.v2.Revision revisions = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListRevisionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListRevisionsResponse.Builder setNextPageToken(String value)
A token indicating there are more items than page_size. Use it in the next
ListRevisions request to continue.
string next_page_token = 2;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListRevisionsResponse.Builder setNextPageTokenBytes(ByteString value)
A token indicating there are more items than page_size. Use it in the next
ListRevisions request to continue.
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 ListRevisionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setRevisions(int index, Revision value)
public ListRevisionsResponse.Builder setRevisions(int index, Revision value)
The resulting list of Revisions.
repeated .google.cloud.run.v2.Revision revisions = 1;
Parameters
Returns
setRevisions(int index, Revision.Builder builderForValue)
public ListRevisionsResponse.Builder setRevisions(int index, Revision.Builder builderForValue)
The resulting list of Revisions.
repeated .google.cloud.run.v2.Revision revisions = 1;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ListRevisionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides