public final class FetchGitRefsResponse extends GeneratedMessageV3 implements FetchGitRefsResponseOrBuilder
Response for fetching git refs.
Protobuf type google.cloud.developerconnect.v1.FetchGitRefsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
REF_NAMES_FIELD_NUMBER
public static final int REF_NAMES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static FetchGitRefsResponse getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static FetchGitRefsResponse.Builder newBuilder()
newBuilder(FetchGitRefsResponse prototype)
public static FetchGitRefsResponse.Builder newBuilder(FetchGitRefsResponse prototype)
public static FetchGitRefsResponse parseDelimitedFrom(InputStream input)
public static FetchGitRefsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static FetchGitRefsResponse parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FetchGitRefsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static FetchGitRefsResponse parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FetchGitRefsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FetchGitRefsResponse parseFrom(CodedInputStream input)
public static FetchGitRefsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static FetchGitRefsResponse parseFrom(InputStream input)
public static FetchGitRefsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static FetchGitRefsResponse parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static FetchGitRefsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<FetchGitRefsResponse> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public FetchGitRefsResponse getDefaultInstanceForType()
getNextPageToken()
public String getNextPageToken()
A token identifying a page of results the server should return.
string next_page_token = 2;
Returns |
Type |
Description |
String |
The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token identifying a page of results the server should return.
string next_page_token = 2;
Returns |
Type |
Description |
ByteString |
The bytes for nextPageToken.
|
getParserForType()
public Parser<FetchGitRefsResponse> getParserForType()
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;
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public FetchGitRefsResponse.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected FetchGitRefsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public FetchGitRefsResponse.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides