Class FetchGitRefsResponse (3.49.0)

public final class FetchGitRefsResponse extends GeneratedMessageV3 implements FetchGitRefsResponseOrBuilder

Response for fetching git refs

Protobuf type google.devtools.cloudbuild.v2.FetchGitRefsResponse

Static Fields

REF_NAMES_FIELD_NUMBER

public static final int REF_NAMES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FetchGitRefsResponse getDefaultInstance()
Returns
Type Description
FetchGitRefsResponse

getDescriptor()

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

newBuilder()

public static FetchGitRefsResponse.Builder newBuilder()
Returns
Type Description
FetchGitRefsResponse.Builder

newBuilder(FetchGitRefsResponse prototype)

public static FetchGitRefsResponse.Builder newBuilder(FetchGitRefsResponse prototype)
Parameter
Name Description
prototype FetchGitRefsResponse
Returns
Type Description
FetchGitRefsResponse.Builder

parseDelimitedFrom(InputStream input)

public static FetchGitRefsResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FetchGitRefsResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FetchGitRefsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchGitRefsResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static FetchGitRefsResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
FetchGitRefsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FetchGitRefsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchGitRefsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FetchGitRefsResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FetchGitRefsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FetchGitRefsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchGitRefsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FetchGitRefsResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FetchGitRefsResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FetchGitRefsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchGitRefsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static FetchGitRefsResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FetchGitRefsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FetchGitRefsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchGitRefsResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static FetchGitRefsResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FetchGitRefsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FetchGitRefsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchGitRefsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<FetchGitRefsResponse> parser()
Returns
Type Description
Parser<FetchGitRefsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public FetchGitRefsResponse getDefaultInstanceForType()
Returns
Type Description
FetchGitRefsResponse

getParserForType()

public Parser<FetchGitRefsResponse> getParserForType()
Returns
Type Description
Parser<FetchGitRefsResponse>
Overrides

getRefNames(int index)

public String getRefNames(int index)

Name of the refs fetched.

repeated string ref_names = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The refNames at the given index.

getRefNamesBytes(int index)

public ByteString getRefNamesBytes(int index)

Name of the refs fetched.

repeated string ref_names = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the refNames at the given index.

getRefNamesCount()

public int getRefNamesCount()

Name of the refs fetched.

repeated string ref_names = 1;

Returns
Type Description
int

The count of refNames.

getRefNamesList()

public ProtocolStringList getRefNamesList()

Name of the refs fetched.

repeated string ref_names = 1;

Returns
Type Description
ProtocolStringList

A list containing the refNames.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public FetchGitRefsResponse.Builder newBuilderForType()
Returns
Type Description
FetchGitRefsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FetchGitRefsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FetchGitRefsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public FetchGitRefsResponse.Builder toBuilder()
Returns
Type Description
FetchGitRefsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException