public static final class GetDefaultBranchResponse.Builder extends GeneratedMessage.Builder<GetDefaultBranchResponse.Builder> implements GetDefaultBranchResponseOrBuilderResponse message of CatalogService.GetDefaultBranch.
Protobuf type google.cloud.retail.v2alpha.GetDefaultBranchResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GetDefaultBranchResponse.BuilderImplements
GetDefaultBranchResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GetDefaultBranchResponse build()| Returns | |
|---|---|
| Type | Description |
GetDefaultBranchResponse |
|
buildPartial()
public GetDefaultBranchResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
GetDefaultBranchResponse |
|
clear()
public GetDefaultBranchResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
GetDefaultBranchResponse.Builder |
|
clearBranch()
public GetDefaultBranchResponse.Builder clearBranch()Full resource name of the branch id currently set as default branch.
string branch = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
GetDefaultBranchResponse.Builder |
This builder for chaining. |
clearNote()
public GetDefaultBranchResponse.Builder clearNote()This corresponds to SetDefaultBranchRequest.note field, when this branch was set as default.
string note = 3;
| Returns | |
|---|---|
| Type | Description |
GetDefaultBranchResponse.Builder |
This builder for chaining. |
clearSetTime()
public GetDefaultBranchResponse.Builder clearSetTime()The time when this branch is set to default.
.google.protobuf.Timestamp set_time = 2;
| Returns | |
|---|---|
| Type | Description |
GetDefaultBranchResponse.Builder |
|
getBranch()
public String getBranch()Full resource name of the branch id currently set as default branch.
string branch = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The branch. |
getBranchBytes()
public ByteString getBranchBytes()Full resource name of the branch id currently set as default branch.
string branch = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for branch. |
getDefaultInstanceForType()
public GetDefaultBranchResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GetDefaultBranchResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNote()
public String getNote()This corresponds to SetDefaultBranchRequest.note field, when this branch was set as default.
string note = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The note. |
getNoteBytes()
public ByteString getNoteBytes()This corresponds to SetDefaultBranchRequest.note field, when this branch was set as default.
string note = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for note. |
getSetTime()
public Timestamp getSetTime()The time when this branch is set to default.
.google.protobuf.Timestamp set_time = 2;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The setTime. |
getSetTimeBuilder()
public Timestamp.Builder getSetTimeBuilder()The time when this branch is set to default.
.google.protobuf.Timestamp set_time = 2;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getSetTimeOrBuilder()
public TimestampOrBuilder getSetTimeOrBuilder()The time when this branch is set to default.
.google.protobuf.Timestamp set_time = 2;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasSetTime()
public boolean hasSetTime()The time when this branch is set to default.
.google.protobuf.Timestamp set_time = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the setTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GetDefaultBranchResponse other)
public GetDefaultBranchResponse.Builder mergeFrom(GetDefaultBranchResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
GetDefaultBranchResponse |
| Returns | |
|---|---|
| Type | Description |
GetDefaultBranchResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetDefaultBranchResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetDefaultBranchResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GetDefaultBranchResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GetDefaultBranchResponse.Builder |
|
mergeSetTime(Timestamp value)
public GetDefaultBranchResponse.Builder mergeSetTime(Timestamp value)The time when this branch is set to default.
.google.protobuf.Timestamp set_time = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
GetDefaultBranchResponse.Builder |
|
setBranch(String value)
public GetDefaultBranchResponse.Builder setBranch(String value)Full resource name of the branch id currently set as default branch.
string branch = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe branch to set. |
| Returns | |
|---|---|
| Type | Description |
GetDefaultBranchResponse.Builder |
This builder for chaining. |
setBranchBytes(ByteString value)
public GetDefaultBranchResponse.Builder setBranchBytes(ByteString value)Full resource name of the branch id currently set as default branch.
string branch = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for branch to set. |
| Returns | |
|---|---|
| Type | Description |
GetDefaultBranchResponse.Builder |
This builder for chaining. |
setNote(String value)
public GetDefaultBranchResponse.Builder setNote(String value)This corresponds to SetDefaultBranchRequest.note field, when this branch was set as default.
string note = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe note to set. |
| Returns | |
|---|---|
| Type | Description |
GetDefaultBranchResponse.Builder |
This builder for chaining. |
setNoteBytes(ByteString value)
public GetDefaultBranchResponse.Builder setNoteBytes(ByteString value)This corresponds to SetDefaultBranchRequest.note field, when this branch was set as default.
string note = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for note to set. |
| Returns | |
|---|---|
| Type | Description |
GetDefaultBranchResponse.Builder |
This builder for chaining. |
setSetTime(Timestamp value)
public GetDefaultBranchResponse.Builder setSetTime(Timestamp value)The time when this branch is set to default.
.google.protobuf.Timestamp set_time = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
GetDefaultBranchResponse.Builder |
|
setSetTime(Timestamp.Builder builderForValue)
public GetDefaultBranchResponse.Builder setSetTime(Timestamp.Builder builderForValue)The time when this branch is set to default.
.google.protobuf.Timestamp set_time = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
GetDefaultBranchResponse.Builder |
|