Class ListBuildTriggersRequest.Builder (3.33.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListBuildTriggersRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListBuildTriggersRequest.Builder
Overrides

build()

public ListBuildTriggersRequest build()
Returns
TypeDescription
ListBuildTriggersRequest

buildPartial()

public ListBuildTriggersRequest buildPartial()
Returns
TypeDescription
ListBuildTriggersRequest

clear()

public ListBuildTriggersRequest.Builder clear()
Returns
TypeDescription
ListBuildTriggersRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListBuildTriggersRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListBuildTriggersRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ListBuildTriggersRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListBuildTriggersRequest.Builder
Overrides

clearPageSize()

public ListBuildTriggersRequest.Builder clearPageSize()

Number of results to return in the list.

int32 page_size = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ListBuildTriggersRequest.Builder

This builder for chaining.

clone()

public ListBuildTriggersRequest.Builder clone()
Returns
TypeDescription
ListBuildTriggersRequest.Builder
Overrides

getDefaultInstanceForType()

public ListBuildTriggersRequest getDefaultInstanceForType()
Returns
TypeDescription
ListBuildTriggersRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPageSize()

public int getPageSize()

Number of results to return in the list.

int32 page_size = 2;

Returns
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

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

string page_token = 3;

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

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

string page_token = 3;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for projectId.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListBuildTriggersRequest other)

public ListBuildTriggersRequest.Builder mergeFrom(ListBuildTriggersRequest other)
Parameter
NameDescription
otherListBuildTriggersRequest
Returns
TypeDescription
ListBuildTriggersRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListBuildTriggersRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListBuildTriggersRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListBuildTriggersRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListBuildTriggersRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListBuildTriggersRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListBuildTriggersRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListBuildTriggersRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
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
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
valueString

The projectId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for projectId to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListBuildTriggersRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListBuildTriggersRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListBuildTriggersRequest.Builder
Overrides