public static final class ListBuildsResponse.Builder extends GeneratedMessageV3.Builder<ListBuildsResponse.Builder> implements ListBuildsResponseOrBuilder
Response including listed builds.
Protobuf type google.devtools.cloudbuild.v1.ListBuildsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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
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>
|
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
|
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;
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 |
---|
Name | Description |
index | int
|
value | Build
|
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;
addBuildsBuilder()
public Build.Builder addBuildsBuilder()
Builds will be sorted by create_time
, descending.
repeated .google.devtools.cloudbuild.v1.Build builds = 1;
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 |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListBuildsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListBuildsResponse build()
buildPartial()
public ListBuildsResponse buildPartial()
clear()
public ListBuildsResponse.Builder clear()
Overrides
clearBuilds()
public ListBuildsResponse.Builder clearBuilds()
Builds will be sorted by create_time
, descending.
repeated .google.devtools.cloudbuild.v1.Build builds = 1;
clearField(Descriptors.FieldDescriptor field)
public ListBuildsResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListBuildsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListBuildsResponse.Builder clone()
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 |
---|
Name | Description |
index | int
|
Returns |
---|
Type | Description |
Build | |
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 |
---|
Name | Description |
index | int
|
getBuildsBuilderList()
public List<Build.Builder> getBuildsBuilderList()
Builds will be sorted by create_time
, descending.
repeated .google.devtools.cloudbuild.v1.Build builds = 1;
getBuildsCount()
public int getBuildsCount()
Builds will be sorted by create_time
, descending.
repeated .google.devtools.cloudbuild.v1.Build builds = 1;
Returns |
---|
Type | Description |
int | |
getBuildsList()
public List<Build> getBuildsList()
Builds will be sorted by create_time
, descending.
repeated .google.devtools.cloudbuild.v1.Build builds = 1;
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 |
---|
Name | Description |
index | int
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListBuildsResponse other)
public ListBuildsResponse.Builder mergeFrom(ListBuildsResponse other)
public ListBuildsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListBuildsResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListBuildsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
value | Build
|
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;
setField(Descriptors.FieldDescriptor field, Object value)
public ListBuildsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListBuildsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListBuildsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides