Package com.google.cloud.retail.v2
Interface GetDefaultBranchResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GetDefaultBranchResponse
,GetDefaultBranchResponse.Builder
public interface GetDefaultBranchResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getBranch()
Full resource name of the branch id currently set as default branch.com.google.protobuf.ByteString
getBranchBytes()
Full resource name of the branch id currently set as default branch.String
getNote()
This corresponds to [SetDefaultBranchRequest.note][google.cloud.retail.v2.SetDefaultBranchRequest.note] field, when this branch was set as default.com.google.protobuf.ByteString
getNoteBytes()
This corresponds to [SetDefaultBranchRequest.note][google.cloud.retail.v2.SetDefaultBranchRequest.note] field, when this branch was set as default.com.google.protobuf.Timestamp
getSetTime()
The time when this branch is set to default.com.google.protobuf.TimestampOrBuilder
getSetTimeOrBuilder()
The time when this branch is set to default.boolean
hasSetTime()
The time when this branch is set to default.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getBranch
String getBranch()
Full resource name of the branch id currently set as default branch.
string branch = 1 [(.google.api.resource_reference) = { ... }
- Returns:
- The branch.
-
getBranchBytes
com.google.protobuf.ByteString getBranchBytes()
Full resource name of the branch id currently set as default branch.
string branch = 1 [(.google.api.resource_reference) = { ... }
- Returns:
- The bytes for branch.
-
hasSetTime
boolean hasSetTime()
The time when this branch is set to default.
.google.protobuf.Timestamp set_time = 2;
- Returns:
- Whether the setTime field is set.
-
getSetTime
com.google.protobuf.Timestamp getSetTime()
The time when this branch is set to default.
.google.protobuf.Timestamp set_time = 2;
- Returns:
- The setTime.
-
getSetTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getSetTimeOrBuilder()
The time when this branch is set to default.
.google.protobuf.Timestamp set_time = 2;
-
getNote
String getNote()
This corresponds to [SetDefaultBranchRequest.note][google.cloud.retail.v2.SetDefaultBranchRequest.note] field, when this branch was set as default.
string note = 3;
- Returns:
- The note.
-
getNoteBytes
com.google.protobuf.ByteString getNoteBytes()
This corresponds to [SetDefaultBranchRequest.note][google.cloud.retail.v2.SetDefaultBranchRequest.note] field, when this branch was set as default.
string note = 3;
- Returns:
- The bytes for note.
-
-