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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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
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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListBuildTriggersResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
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;
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;
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;
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;
addTriggersBuilder()
public BuildTrigger.Builder addTriggersBuilder()
BuildTriggers
for the project, sorted by create_time
descending.
repeated .google.devtools.cloudbuild.v1.BuildTrigger triggers = 1;
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 |
---|
Name | Description |
index | int
|
build()
public ListBuildTriggersResponse build()
buildPartial()
public ListBuildTriggersResponse buildPartial()
clear()
public ListBuildTriggersResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListBuildTriggersResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListBuildTriggersResponse.Builder clearNextPageToken()
Token to receive the next page of results.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListBuildTriggersResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTriggers()
public ListBuildTriggersResponse.Builder clearTriggers()
BuildTriggers
for the project, sorted by create_time
descending.
repeated .google.devtools.cloudbuild.v1.BuildTrigger triggers = 1;
clone()
public ListBuildTriggersResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListBuildTriggersResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
getTriggersBuilderList()
public List<BuildTrigger.Builder> getTriggersBuilderList()
BuildTriggers
for the project, sorted by create_time
descending.
repeated .google.devtools.cloudbuild.v1.BuildTrigger triggers = 1;
getTriggersCount()
public int getTriggersCount()
BuildTriggers
for the project, sorted by create_time
descending.
repeated .google.devtools.cloudbuild.v1.BuildTrigger triggers = 1;
Returns |
---|
Type | Description |
int | |
getTriggersList()
public List<BuildTrigger> getTriggersList()
BuildTriggers
for the project, sorted by create_time
descending.
repeated .google.devtools.cloudbuild.v1.BuildTrigger triggers = 1;
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 |
---|
Name | Description |
index | int
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListBuildTriggersResponse other)
public ListBuildTriggersResponse.Builder mergeFrom(ListBuildTriggersResponse other)
public ListBuildTriggersResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListBuildTriggersResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListBuildTriggersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListBuildTriggersResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListBuildTriggersResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final ListBuildTriggersResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides