Class ListBuildTriggersResponse (3.16.0)

public final class ListBuildTriggersResponse extends GeneratedMessageV3 implements ListBuildTriggersResponseOrBuilder

Response containing existing BuildTriggers.

Protobuf type google.devtools.cloudbuild.v1.ListBuildTriggersResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

TRIGGERS_FIELD_NUMBER

public static final int TRIGGERS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListBuildTriggersResponse getDefaultInstance()
Returns
TypeDescription
ListBuildTriggersResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListBuildTriggersResponse.Builder newBuilder()
Returns
TypeDescription
ListBuildTriggersResponse.Builder

newBuilder(ListBuildTriggersResponse prototype)

public static ListBuildTriggersResponse.Builder newBuilder(ListBuildTriggersResponse prototype)
Parameter
NameDescription
prototypeListBuildTriggersResponse
Returns
TypeDescription
ListBuildTriggersResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListBuildTriggersResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListBuildTriggersResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListBuildTriggersResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListBuildTriggersResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListBuildTriggersResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListBuildTriggersResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListBuildTriggersResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListBuildTriggersResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListBuildTriggersResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListBuildTriggersResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListBuildTriggersResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListBuildTriggersResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListBuildTriggersResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListBuildTriggersResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListBuildTriggersResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListBuildTriggersResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListBuildTriggersResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListBuildTriggersResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListBuildTriggersResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListBuildTriggersResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListBuildTriggersResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListBuildTriggersResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListBuildTriggersResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListBuildTriggersResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListBuildTriggersResponse> parser()
Returns
TypeDescription
Parser<ListBuildTriggersResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListBuildTriggersResponse getDefaultInstanceForType()
Returns
TypeDescription
ListBuildTriggersResponse

getNextPageToken()

public String getNextPageToken()

Token to receive the next page of results.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to receive the next page of results.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListBuildTriggersResponse> getParserForType()
Returns
TypeDescription
Parser<ListBuildTriggersResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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
NameDescription
indexint
Returns
TypeDescription
BuildTrigger

getTriggersCount()

public int getTriggersCount()

BuildTriggers for the project, sorted by create_time descending.

repeated .google.devtools.cloudbuild.v1.BuildTrigger triggers = 1;

Returns
TypeDescription
int

getTriggersList()

public List<BuildTrigger> getTriggersList()

BuildTriggers for the project, sorted by create_time descending.

repeated .google.devtools.cloudbuild.v1.BuildTrigger triggers = 1;

Returns
TypeDescription
List<BuildTrigger>

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
NameDescription
indexint
Returns
TypeDescription
BuildTriggerOrBuilder

getTriggersOrBuilderList()

public List<? extends BuildTriggerOrBuilder> getTriggersOrBuilderList()

BuildTriggers for the project, sorted by create_time descending.

repeated .google.devtools.cloudbuild.v1.BuildTrigger triggers = 1;

Returns
TypeDescription
List<? extends com.google.cloudbuild.v1.BuildTriggerOrBuilder>

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListBuildTriggersResponse.Builder newBuilderForType()
Returns
TypeDescription
ListBuildTriggersResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListBuildTriggersResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListBuildTriggersResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListBuildTriggersResponse.Builder toBuilder()
Returns
TypeDescription
ListBuildTriggersResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException