Class FetchGitRefsResponse (3.43.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static FetchGitRefsResponse getDefaultInstance()
Returns
TypeDescription
FetchGitRefsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(FetchGitRefsResponse prototype)

public static FetchGitRefsResponse.Builder newBuilder(FetchGitRefsResponse prototype)
Parameter
NameDescription
prototypeFetchGitRefsResponse
Returns
TypeDescription
FetchGitRefsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public FetchGitRefsResponse getDefaultInstanceForType()
Returns
TypeDescription
FetchGitRefsResponse

getParserForType()

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

getRefNames(int index)

public String getRefNames(int index)

Name of the refs fetched.

repeated string ref_names = 1;

Parameter
NameDescription
indexint

The index of the element to return.

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

The index of the value to return.

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

The count of refNames.

getRefNamesList()

public ProtocolStringList getRefNamesList()

Name of the refs fetched.

repeated string ref_names = 1;

Returns
TypeDescription
ProtocolStringList

A list containing the refNames.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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 FetchGitRefsResponse.Builder newBuilderForType()
Returns
TypeDescription
FetchGitRefsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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