public static final class GetDefaultBranchResponse.Builder extends GeneratedMessageV3.Builder<GetDefaultBranchResponse.Builder> implements GetDefaultBranchResponseOrBuilder
Response message of
CatalogService.GetDefaultBranch.
Protobuf type google.cloud.retail.v2alpha.GetDefaultBranchResponse
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetDefaultBranchResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public GetDefaultBranchResponse build()
buildPartial()
public GetDefaultBranchResponse buildPartial()
clear()
public GetDefaultBranchResponse.Builder clear()
Overrides
clearBranch()
public GetDefaultBranchResponse.Builder clearBranch()
Full resource name of the branch id currently set as default branch.
string branch = 1 [(.google.api.resource_reference) = { ... }
clearField(Descriptors.FieldDescriptor field)
public GetDefaultBranchResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNote()
public GetDefaultBranchResponse.Builder clearNote()
This corresponds to
SetDefaultBranchRequest.note
field, when this branch was set as default.
string note = 3;
clearOneof(Descriptors.OneofDescriptor oneof)
public GetDefaultBranchResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSetTime()
public GetDefaultBranchResponse.Builder clearSetTime()
The time when this branch is set to default.
.google.protobuf.Timestamp set_time = 2;
clone()
public GetDefaultBranchResponse.Builder clone()
Overrides
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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;
getSetTimeOrBuilder()
public TimestampOrBuilder getSetTimeOrBuilder()
The time when this branch is set to default.
.google.protobuf.Timestamp set_time = 2;
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(GetDefaultBranchResponse other)
public GetDefaultBranchResponse.Builder mergeFrom(GetDefaultBranchResponse other)
public GetDefaultBranchResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public GetDefaultBranchResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeSetTime(Timestamp value)
public GetDefaultBranchResponse.Builder mergeSetTime(Timestamp value)
The time when this branch is set to default.
.google.protobuf.Timestamp set_time = 2;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetDefaultBranchResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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 |
String
The branch to set.
|
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 |
ByteString
The bytes for branch to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public GetDefaultBranchResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 |
String
The note to set.
|
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 |
ByteString
The bytes for note to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetDefaultBranchResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSetTime(Timestamp value)
public GetDefaultBranchResponse.Builder setSetTime(Timestamp value)
The time when this branch is set to default.
.google.protobuf.Timestamp set_time = 2;
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
|
setUnknownFields(UnknownFieldSet unknownFields)
public final GetDefaultBranchResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides