public static final class ListBuildsResponse.Builder extends GeneratedMessageV3.Builder<ListBuildsResponse.Builder> implements ListBuildsResponseOrBuilder
Response including listed builds.
Protobuf type google.devtools.cloudbuild.v1.ListBuildsResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllBuilds(Iterable<? extends Build> values)
public ListBuildsResponse.Builder addAllBuilds(Iterable<? extends Build> values)
Builds will be sorted by create_time
, descending.
repeated .google.devtools.cloudbuild.v1.Build builds = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloudbuild.v1.Build>
|
Returns
addBuilds(Build value)
public ListBuildsResponse.Builder addBuilds(Build value)
Builds will be sorted by create_time
, descending.
repeated .google.devtools.cloudbuild.v1.Build builds = 1;
Parameter
Name | Description |
value | Build
|
Returns
addBuilds(Build.Builder builderForValue)
public ListBuildsResponse.Builder addBuilds(Build.Builder builderForValue)
Builds will be sorted by create_time
, descending.
repeated .google.devtools.cloudbuild.v1.Build builds = 1;
Parameter
Returns
addBuilds(int index, Build value)
public ListBuildsResponse.Builder addBuilds(int index, Build value)
Builds will be sorted by create_time
, descending.
repeated .google.devtools.cloudbuild.v1.Build builds = 1;
Parameters
Returns
addBuilds(int index, Build.Builder builderForValue)
public ListBuildsResponse.Builder addBuilds(int index, Build.Builder builderForValue)
Builds will be sorted by create_time
, descending.
repeated .google.devtools.cloudbuild.v1.Build builds = 1;
Parameters
Returns
addBuildsBuilder()
public Build.Builder addBuildsBuilder()
Builds will be sorted by create_time
, descending.
repeated .google.devtools.cloudbuild.v1.Build builds = 1;
Returns
addBuildsBuilder(int index)
public Build.Builder addBuildsBuilder(int index)
Builds will be sorted by create_time
, descending.
repeated .google.devtools.cloudbuild.v1.Build builds = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListBuildsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListBuildsResponse build()
Returns
buildPartial()
public ListBuildsResponse buildPartial()
Returns
clear()
public ListBuildsResponse.Builder clear()
Returns
Overrides
clearBuilds()
public ListBuildsResponse.Builder clearBuilds()
Builds will be sorted by create_time
, descending.
repeated .google.devtools.cloudbuild.v1.Build builds = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListBuildsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListBuildsResponse.Builder clearNextPageToken()
Token to receive the next page of results.
This will be absent if the end of the response list has been reached.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListBuildsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListBuildsResponse.Builder clone()
Returns
Overrides
getBuilds(int index)
public Build getBuilds(int index)
Builds will be sorted by create_time
, descending.
repeated .google.devtools.cloudbuild.v1.Build builds = 1;
Parameter
Returns
getBuildsBuilder(int index)
public Build.Builder getBuildsBuilder(int index)
Builds will be sorted by create_time
, descending.
repeated .google.devtools.cloudbuild.v1.Build builds = 1;
Parameter
Returns
getBuildsBuilderList()
public List<Build.Builder> getBuildsBuilderList()
Builds will be sorted by create_time
, descending.
repeated .google.devtools.cloudbuild.v1.Build builds = 1;
Returns
getBuildsCount()
public int getBuildsCount()
Builds will be sorted by create_time
, descending.
repeated .google.devtools.cloudbuild.v1.Build builds = 1;
Returns
getBuildsList()
public List<Build> getBuildsList()
Builds will be sorted by create_time
, descending.
repeated .google.devtools.cloudbuild.v1.Build builds = 1;
Returns
getBuildsOrBuilder(int index)
public BuildOrBuilder getBuildsOrBuilder(int index)
Builds will be sorted by create_time
, descending.
repeated .google.devtools.cloudbuild.v1.Build builds = 1;
Parameter
Returns
getBuildsOrBuilderList()
public List<? extends BuildOrBuilder> getBuildsOrBuilderList()
Builds will be sorted by create_time
, descending.
repeated .google.devtools.cloudbuild.v1.Build builds = 1;
Returns
Type | Description |
List<? extends com.google.cloudbuild.v1.BuildOrBuilder> | |
getDefaultInstanceForType()
public ListBuildsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNextPageToken()
public String getNextPageToken()
Token to receive the next page of results.
This will be absent if the end of the response list has been reached.
string next_page_token = 2;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
Token to receive the next page of results.
This will be absent if the end of the response list has been reached.
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(ListBuildsResponse other)
public ListBuildsResponse.Builder mergeFrom(ListBuildsResponse other)
Parameter
Returns
public ListBuildsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListBuildsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListBuildsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeBuilds(int index)
public ListBuildsResponse.Builder removeBuilds(int index)
Builds will be sorted by create_time
, descending.
repeated .google.devtools.cloudbuild.v1.Build builds = 1;
Parameter
Returns
setBuilds(int index, Build value)
public ListBuildsResponse.Builder setBuilds(int index, Build value)
Builds will be sorted by create_time
, descending.
repeated .google.devtools.cloudbuild.v1.Build builds = 1;
Parameters
Returns
setBuilds(int index, Build.Builder builderForValue)
public ListBuildsResponse.Builder setBuilds(int index, Build.Builder builderForValue)
Builds will be sorted by create_time
, descending.
repeated .google.devtools.cloudbuild.v1.Build builds = 1;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListBuildsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListBuildsResponse.Builder setNextPageToken(String value)
Token to receive the next page of results.
This will be absent if the end of the response list has been reached.
string next_page_token = 2;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListBuildsResponse.Builder setNextPageTokenBytes(ByteString value)
Token to receive the next page of results.
This will be absent if the end of the response list has been reached.
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 ListBuildsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListBuildsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides