Class ListBuildTriggersRequest.Builder (3.45.0)

public static final class ListBuildTriggersRequest.Builder extends GeneratedMessageV3.Builder<ListBuildTriggersRequest.Builder> implements ListBuildTriggersRequestOrBuilder

Request to list existing BuildTriggers.

Protobuf type google.devtools.cloudbuild.v1.ListBuildTriggersRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListBuildTriggersRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListBuildTriggersRequest.Builder
Overrides

build()

public ListBuildTriggersRequest build()
Returns
Type Description
ListBuildTriggersRequest

buildPartial()

public ListBuildTriggersRequest buildPartial()
Returns
Type Description
ListBuildTriggersRequest

clear()

public ListBuildTriggersRequest.Builder clear()
Returns
Type Description
ListBuildTriggersRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListBuildTriggersRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListBuildTriggersRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ListBuildTriggersRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListBuildTriggersRequest.Builder
Overrides

clearPageSize()

public ListBuildTriggersRequest.Builder clearPageSize()

Number of results to return in the list.

int32 page_size = 2;

Returns
Type Description
ListBuildTriggersRequest.Builder

This builder for chaining.

clearPageToken()

public ListBuildTriggersRequest.Builder clearPageToken()

Token to provide to skip to a particular spot in the list.

string page_token = 3;

Returns
Type Description
ListBuildTriggersRequest.Builder

This builder for chaining.

clearParent()

public ListBuildTriggersRequest.Builder clearParent()

The parent of the collection of Triggers. Format: projects/{project}/locations/{location}

string parent = 4 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ListBuildTriggersRequest.Builder

This builder for chaining.

clearProjectId()

public ListBuildTriggersRequest.Builder clearProjectId()

Required. ID of the project for which to list BuildTriggers.

string project_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ListBuildTriggersRequest.Builder

This builder for chaining.

clone()

public ListBuildTriggersRequest.Builder clone()
Returns
Type Description
ListBuildTriggersRequest.Builder
Overrides

getDefaultInstanceForType()

public ListBuildTriggersRequest getDefaultInstanceForType()
Returns
Type Description
ListBuildTriggersRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPageSize()

public int getPageSize()

Number of results to return in the list.

int32 page_size = 2;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Token to provide to skip to a particular spot in the list.

string page_token = 3;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Token to provide to skip to a particular spot in the list.

string page_token = 3;

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

The parent of the collection of Triggers. Format: projects/{project}/locations/{location}

string parent = 4 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

The parent of the collection of Triggers. Format: projects/{project}/locations/{location}

string parent = 4 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getProjectId()

public String getProjectId()

Required. ID of the project for which to list BuildTriggers.

string project_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

Required. ID of the project for which to list BuildTriggers.

string project_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for projectId.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListBuildTriggersRequest other)

public ListBuildTriggersRequest.Builder mergeFrom(ListBuildTriggersRequest other)
Parameter
Name Description
other ListBuildTriggersRequest
Returns
Type Description
ListBuildTriggersRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListBuildTriggersRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListBuildTriggersRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListBuildTriggersRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListBuildTriggersRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListBuildTriggersRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListBuildTriggersRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListBuildTriggersRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListBuildTriggersRequest.Builder
Overrides

setPageSize(int value)

public ListBuildTriggersRequest.Builder setPageSize(int value)

Number of results to return in the list.

int32 page_size = 2;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListBuildTriggersRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListBuildTriggersRequest.Builder setPageToken(String value)

Token to provide to skip to a particular spot in the list.

string page_token = 3;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListBuildTriggersRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListBuildTriggersRequest.Builder setPageTokenBytes(ByteString value)

Token to provide to skip to a particular spot in the list.

string page_token = 3;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListBuildTriggersRequest.Builder

This builder for chaining.

setParent(String value)

public ListBuildTriggersRequest.Builder setParent(String value)

The parent of the collection of Triggers. Format: projects/{project}/locations/{location}

string parent = 4 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListBuildTriggersRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListBuildTriggersRequest.Builder setParentBytes(ByteString value)

The parent of the collection of Triggers. Format: projects/{project}/locations/{location}

string parent = 4 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ListBuildTriggersRequest.Builder

This builder for chaining.

setProjectId(String value)

public ListBuildTriggersRequest.Builder setProjectId(String value)

Required. ID of the project for which to list BuildTriggers.

string project_id = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The projectId to set.

Returns
Type Description
ListBuildTriggersRequest.Builder

This builder for chaining.

setProjectIdBytes(ByteString value)

public ListBuildTriggersRequest.Builder setProjectIdBytes(ByteString value)

Required. ID of the project for which to list BuildTriggers.

string project_id = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for projectId to set.

Returns
Type Description
ListBuildTriggersRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListBuildTriggersRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListBuildTriggersRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListBuildTriggersRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListBuildTriggersRequest.Builder
Overrides