public static final class ListBuildTriggersResponse.Builder extends GeneratedMessageV3.Builder<ListBuildTriggersResponse.Builder> implements ListBuildTriggersResponseOrBuilder
Response containing existing BuildTriggers
.
Protobuf type google.devtools.cloudbuild.v1.ListBuildTriggersResponse
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()
Returns
Methods
addAllTriggers(Iterable<? extends BuildTrigger> values)
public ListBuildTriggersResponse.Builder addAllTriggers(Iterable<? extends BuildTrigger> values)
BuildTriggers
for the project, sorted by create_time
descending.
repeated .google.devtools.cloudbuild.v1.BuildTrigger triggers = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloudbuild.v1.BuildTrigger>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListBuildTriggersResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addTriggers(BuildTrigger value)
public ListBuildTriggersResponse.Builder addTriggers(BuildTrigger value)
BuildTriggers
for the project, sorted by create_time
descending.
repeated .google.devtools.cloudbuild.v1.BuildTrigger triggers = 1;
Parameter
Returns
addTriggers(BuildTrigger.Builder builderForValue)
public ListBuildTriggersResponse.Builder addTriggers(BuildTrigger.Builder builderForValue)
BuildTriggers
for the project, sorted by create_time
descending.
repeated .google.devtools.cloudbuild.v1.BuildTrigger triggers = 1;
Parameter
Returns
addTriggers(int index, BuildTrigger value)
public ListBuildTriggersResponse.Builder addTriggers(int index, BuildTrigger value)
BuildTriggers
for the project, sorted by create_time
descending.
repeated .google.devtools.cloudbuild.v1.BuildTrigger triggers = 1;
Parameters
Returns
addTriggers(int index, BuildTrigger.Builder builderForValue)
public ListBuildTriggersResponse.Builder addTriggers(int index, BuildTrigger.Builder builderForValue)
BuildTriggers
for the project, sorted by create_time
descending.
repeated .google.devtools.cloudbuild.v1.BuildTrigger triggers = 1;
Parameters
Returns
addTriggersBuilder()
public BuildTrigger.Builder addTriggersBuilder()
BuildTriggers
for the project, sorted by create_time
descending.
repeated .google.devtools.cloudbuild.v1.BuildTrigger triggers = 1;
Returns
addTriggersBuilder(int index)
public BuildTrigger.Builder addTriggersBuilder(int index)
BuildTriggers
for the project, sorted by create_time
descending.
repeated .google.devtools.cloudbuild.v1.BuildTrigger triggers = 1;
Parameter
Returns
build()
public ListBuildTriggersResponse build()
Returns
buildPartial()
public ListBuildTriggersResponse buildPartial()
Returns
clear()
public ListBuildTriggersResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListBuildTriggersResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListBuildTriggersResponse.Builder clearNextPageToken()
Token to receive the next page of results.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListBuildTriggersResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearTriggers()
public ListBuildTriggersResponse.Builder clearTriggers()
BuildTriggers
for the project, sorted by create_time
descending.
repeated .google.devtools.cloudbuild.v1.BuildTrigger triggers = 1;
Returns
clone()
public ListBuildTriggersResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListBuildTriggersResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNextPageToken()
public String getNextPageToken()
Token to receive the next page of results.
string next_page_token = 2;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
Token to receive the next page of results.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
getTriggers(int index)
public BuildTrigger getTriggers(int index)
BuildTriggers
for the project, sorted by create_time
descending.
repeated .google.devtools.cloudbuild.v1.BuildTrigger triggers = 1;
Parameter
Returns
getTriggersBuilder(int index)
public BuildTrigger.Builder getTriggersBuilder(int index)
BuildTriggers
for the project, sorted by create_time
descending.
repeated .google.devtools.cloudbuild.v1.BuildTrigger triggers = 1;
Parameter
Returns
getTriggersBuilderList()
public List<BuildTrigger.Builder> getTriggersBuilderList()
BuildTriggers
for the project, sorted by create_time
descending.
repeated .google.devtools.cloudbuild.v1.BuildTrigger triggers = 1;
Returns
getTriggersCount()
public int getTriggersCount()
BuildTriggers
for the project, sorted by create_time
descending.
repeated .google.devtools.cloudbuild.v1.BuildTrigger triggers = 1;
Returns
getTriggersList()
public List<BuildTrigger> getTriggersList()
BuildTriggers
for the project, sorted by create_time
descending.
repeated .google.devtools.cloudbuild.v1.BuildTrigger triggers = 1;
Returns
getTriggersOrBuilder(int index)
public BuildTriggerOrBuilder getTriggersOrBuilder(int index)
BuildTriggers
for the project, sorted by create_time
descending.
repeated .google.devtools.cloudbuild.v1.BuildTrigger triggers = 1;
Parameter
Returns
getTriggersOrBuilderList()
public List<? extends BuildTriggerOrBuilder> getTriggersOrBuilderList()
BuildTriggers
for the project, sorted by create_time
descending.
repeated .google.devtools.cloudbuild.v1.BuildTrigger triggers = 1;
Returns
Type | Description |
List<? extends com.google.cloudbuild.v1.BuildTriggerOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListBuildTriggersResponse other)
public ListBuildTriggersResponse.Builder mergeFrom(ListBuildTriggersResponse other)
Parameter
Returns
public ListBuildTriggersResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListBuildTriggersResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListBuildTriggersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeTriggers(int index)
public ListBuildTriggersResponse.Builder removeTriggers(int index)
BuildTriggers
for the project, sorted by create_time
descending.
repeated .google.devtools.cloudbuild.v1.BuildTrigger triggers = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListBuildTriggersResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListBuildTriggersResponse.Builder setNextPageToken(String value)
Token to receive the next page of results.
string next_page_token = 2;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListBuildTriggersResponse.Builder setNextPageTokenBytes(ByteString value)
Token to receive the next page of results.
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 ListBuildTriggersResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setTriggers(int index, BuildTrigger value)
public ListBuildTriggersResponse.Builder setTriggers(int index, BuildTrigger value)
BuildTriggers
for the project, sorted by create_time
descending.
repeated .google.devtools.cloudbuild.v1.BuildTrigger triggers = 1;
Parameters
Returns
setTriggers(int index, BuildTrigger.Builder builderForValue)
public ListBuildTriggersResponse.Builder setTriggers(int index, BuildTrigger.Builder builderForValue)
BuildTriggers
for the project, sorted by create_time
descending.
repeated .google.devtools.cloudbuild.v1.BuildTrigger triggers = 1;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ListBuildTriggersResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides