Send feedback
Class FetchGitRefsResponse.Builder (3.24.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.24.0 keyboard_arrow_down
public static final class FetchGitRefsResponse . Builder extends GeneratedMessageV3 . Builder<FetchGitRefsResponse . Builder > implements FetchGitRefsResponseOrBuilder
Response for fetching git refs
Protobuf type google.devtools.cloudbuild.v2.FetchGitRefsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addAllRefNames(Iterable<String> values)
public FetchGitRefsResponse . Builder addAllRefNames ( Iterable<String> values )
Name of the refs fetched.
repeated string ref_names = 1;
addRefNames(String value)
public FetchGitRefsResponse . Builder addRefNames ( String value )
Name of the refs fetched.
repeated string ref_names = 1;
Parameter Name Description value
String
The refNames to add.
addRefNamesBytes(ByteString value)
public FetchGitRefsResponse . Builder addRefNamesBytes ( ByteString value )
Name of the refs fetched.
repeated string ref_names = 1;
Parameter Name Description value
ByteString
The bytes of the refNames to add.
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FetchGitRefsResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public FetchGitRefsResponse build ()
buildPartial()
public FetchGitRefsResponse buildPartial ()
clear()
public FetchGitRefsResponse . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public FetchGitRefsResponse . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public FetchGitRefsResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearRefNames()
public FetchGitRefsResponse . Builder clearRefNames ()
Name of the refs fetched.
repeated string ref_names = 1;
clone()
public FetchGitRefsResponse . Builder clone ()
Overrides
getDefaultInstanceForType()
public FetchGitRefsResponse getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
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;
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(FetchGitRefsResponse other)
public FetchGitRefsResponse . Builder mergeFrom ( FetchGitRefsResponse other )
public FetchGitRefsResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public FetchGitRefsResponse . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FetchGitRefsResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public FetchGitRefsResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRefNames(int index, String value)
public FetchGitRefsResponse . Builder setRefNames ( int index , String value )
Name of the refs fetched.
repeated string ref_names = 1;
Parameters Name Description index
int
The index to set the value at.
value
String
The refNames to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FetchGitRefsResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final FetchGitRefsResponse . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]