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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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