public static final class FetchRemoteBranchesResponse.Builder extends GeneratedMessage.Builder<FetchRemoteBranchesResponse.Builder> implements FetchRemoteBranchesResponseOrBuilder FetchRemoteBranches response message.
Protobuf type google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FetchRemoteBranchesResponse.BuilderImplements
FetchRemoteBranchesResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllBranches(Iterable<String> values)
public FetchRemoteBranchesResponse.Builder addAllBranches(Iterable<String> values)The remote repository's branch names.
repeated string branches = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The branches to add. |
| Returns | |
|---|---|
| Type | Description |
FetchRemoteBranchesResponse.Builder |
This builder for chaining. |
addBranches(String value)
public FetchRemoteBranchesResponse.Builder addBranches(String value)The remote repository's branch names.
repeated string branches = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe branches to add. |
| Returns | |
|---|---|
| Type | Description |
FetchRemoteBranchesResponse.Builder |
This builder for chaining. |
addBranchesBytes(ByteString value)
public FetchRemoteBranchesResponse.Builder addBranchesBytes(ByteString value)The remote repository's branch names.
repeated string branches = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the branches to add. |
| Returns | |
|---|---|
| Type | Description |
FetchRemoteBranchesResponse.Builder |
This builder for chaining. |
build()
public FetchRemoteBranchesResponse build()| Returns | |
|---|---|
| Type | Description |
FetchRemoteBranchesResponse |
|
buildPartial()
public FetchRemoteBranchesResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
FetchRemoteBranchesResponse |
|
clear()
public FetchRemoteBranchesResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
FetchRemoteBranchesResponse.Builder |
|
clearBranches()
public FetchRemoteBranchesResponse.Builder clearBranches()The remote repository's branch names.
repeated string branches = 1;
| Returns | |
|---|---|
| Type | Description |
FetchRemoteBranchesResponse.Builder |
This builder for chaining. |
getBranches(int index)
public String getBranches(int index)The remote repository's branch names.
repeated string branches = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The branches at the given index. |
getBranchesBytes(int index)
public ByteString getBranchesBytes(int index)The remote repository's branch names.
repeated string branches = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the branches at the given index. |
getBranchesCount()
public int getBranchesCount()The remote repository's branch names.
repeated string branches = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The count of branches. |
getBranchesList()
public ProtocolStringList getBranchesList()The remote repository's branch names.
repeated string branches = 1;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the branches. |
getDefaultInstanceForType()
public FetchRemoteBranchesResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FetchRemoteBranchesResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(FetchRemoteBranchesResponse other)
public FetchRemoteBranchesResponse.Builder mergeFrom(FetchRemoteBranchesResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
FetchRemoteBranchesResponse |
| Returns | |
|---|---|
| Type | Description |
FetchRemoteBranchesResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FetchRemoteBranchesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FetchRemoteBranchesResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FetchRemoteBranchesResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FetchRemoteBranchesResponse.Builder |
|
setBranches(int index, String value)
public FetchRemoteBranchesResponse.Builder setBranches(int index, String value)The remote repository's branch names.
repeated string branches = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe branches to set. |
| Returns | |
|---|---|
| Type | Description |
FetchRemoteBranchesResponse.Builder |
This builder for chaining. |