implements
// @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.UpdateInstanceMetadata)
nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.UpdateInstanceMetadataOrBuilder {
public static final nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_descriptor;
}
protected nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_fieldAccessorTable
.ensureFieldAccessorsInitialized(
nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.UpdateInstanceMetadata.class, nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.UpdateInstanceMetadata.Builder.class);
}
// Construct using nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.UpdateInstanceMetadata.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
if (instanceBuilder_ == null) {
instance_ = null;
} else {
instance_ = null;
instanceBuilder_ = null;
}
if (startTimeBuilder_ == null) {
startTime_ = null;
} else {
startTime_ = null;
startTimeBuilder_ = null;
}
if (cancelTimeBuilder_ == null) {
cancelTime_ = null;
} else {
cancelTime_ = null;
cancelTimeBuilder_ = null;
}
if (endTimeBuilder_ == null) {
endTime_ = null;
} else {
endTime_ = null;
endTimeBuilder_ = null;
}
return this;
}
public nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_descriptor;
}
public nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.UpdateInstanceMetadata getDefaultInstanceForType() {
return nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.UpdateInstanceMetadata.getDefaultInstance();
}
public nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.UpdateInstanceMetadata build() {
nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.UpdateInstanceMetadata result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.UpdateInstanceMetadata buildPartial() {
nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.UpdateInstanceMetadata result = new nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.UpdateInstanceMetadata(this);
if (instanceBuilder_ == null) {
result.instance_ = instance_;
} else {
result.instance_ = instanceBuilder_.build();
}
if (startTimeBuilder_ == null) {
result.startTime_ = startTime_;
} else {
result.startTime_ = startTimeBuilder_.build();
}
if (cancelTimeBuilder_ == null) {
result.cancelTime_ = cancelTime_;
} else {
result.cancelTime_ = cancelTimeBuilder_.build();
}
if (endTimeBuilder_ == null) {
result.endTime_ = endTime_;
} else {
result.endTime_ = endTimeBuilder_.build();
}
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(nl.topicus.jdbc.shaded.com.google.protobuf.Message other) {
if (other instanceof nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.UpdateInstanceMetadata) {
return mergeFrom((nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.UpdateInstanceMetadata)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.UpdateInstanceMetadata other) {
if (other == nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.UpdateInstanceMetadata.getDefaultInstance()) return this;
if (other.hasInstance()) {
mergeInstance(other.getInstance());
}
if (other.hasStartTime()) {
mergeStartTime(other.getStartTime());
}
if (other.hasCancelTime()) {
mergeCancelTime(other.getCancelTime());
}
if (other.hasEndTime()) {
mergeEndTime(other.getEndTime());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input,
nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.UpdateInstanceMetadata parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.UpdateInstanceMetadata) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.Instance instance_ = null;
private nl.topicus.jdbc.shaded.com.google.protobuf.SingleFieldBuilderV3<
nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.Instance, nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.Instance.Builder, nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.InstanceOrBuilder> instanceBuilder_;
/**
*
* The desired end state of the update.
*
*
* .google.spanner.admin.instance.v1.Instance instance = 1;
*/
public boolean hasInstance() {
return instanceBuilder_ != null || instance_ != null;
}
/**
*
* The desired end state of the update.
*
*
* .google.spanner.admin.instance.v1.Instance instance = 1;
*/
public nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.Instance getInstance() {
if (instanceBuilder_ == null) {
return instance_ == null ? nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_;
} else {
return instanceBuilder_.getMessage();
}
}
/**
*
* The desired end state of the update.
*
*
* .google.spanner.admin.instance.v1.Instance instance = 1;
*/
public Builder setInstance(nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.Instance value) {
if (instanceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
instance_ = value;
onChanged();
} else {
instanceBuilder_.setMessage(value);
}
return this;
}
/**
*
* The desired end state of the update.
*
*
* .google.spanner.admin.instance.v1.Instance instance = 1;
*/
public Builder setInstance(
nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.Instance.Builder builderForValue) {
if (instanceBuilder_ == null) {
instance_ = builderForValue.build();
onChanged();
} else {
instanceBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The desired end state of the update.
*
*
* .google.spanner.admin.instance.v1.Instance instance = 1;
*/
public Builder mergeInstance(nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.Instance value) {
if (instanceBuilder_ == null) {
if (instance_ != null) {
instance_ =
nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.Instance.newBuilder(instance_).mergeFrom(value).buildPartial();
} else {
instance_ = value;
}
onChanged();
} else {
instanceBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The desired end state of the update.
*
*
* .google.spanner.admin.instance.v1.Instance instance = 1;
*/
public Builder clearInstance() {
if (instanceBuilder_ == null) {
instance_ = null;
onChanged();
} else {
instance_ = null;
instanceBuilder_ = null;
}
return this;
}
/**
*
* The desired end state of the update.
*
*
* .google.spanner.admin.instance.v1.Instance instance = 1;
*/
public nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.Instance.Builder getInstanceBuilder() {
onChanged();
return getInstanceFieldBuilder().getBuilder();
}
/**
*
* The desired end state of the update.
*
*
* .google.spanner.admin.instance.v1.Instance instance = 1;
*/
public nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuilder() {
if (instanceBuilder_ != null) {
return instanceBuilder_.getMessageOrBuilder();
} else {
return instance_ == null ?
nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_;
}
}
/**
*
* The desired end state of the update.
*
*
* .google.spanner.admin.instance.v1.Instance instance = 1;
*/
private nl.topicus.jdbc.shaded.com.google.protobuf.SingleFieldBuilderV3<
nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.Instance, nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.Instance.Builder, nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.InstanceOrBuilder>
getInstanceFieldBuilder() {
if (instanceBuilder_ == null) {
instanceBuilder_ = new nl.topicus.jdbc.shaded.com.google.protobuf.SingleFieldBuilderV3<
nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.Instance, nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.Instance.Builder, nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.InstanceOrBuilder>(
getInstance(),
getParentForChildren(),
isClean());
instance_ = null;
}
return instanceBuilder_;
}
private nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp startTime_ = null;
private nl.topicus.jdbc.shaded.com.google.protobuf.SingleFieldBuilderV3<
nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp, nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp.Builder, nl.topicus.jdbc.shaded.com.google.protobuf.TimestampOrBuilder> startTimeBuilder_;
/**
*
* The time at which [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
* request was received.
*
*
* .google.protobuf.Timestamp start_time = 2;
*/
public boolean hasStartTime() {
return startTimeBuilder_ != null || startTime_ != null;
}
/**
*
* The time at which [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
* request was received.
*
*
* .google.protobuf.Timestamp start_time = 2;
*/
public nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp getStartTime() {
if (startTimeBuilder_ == null) {
return startTime_ == null ? nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
} else {
return startTimeBuilder_.getMessage();
}
}
/**
*
* The time at which [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
* request was received.
*
*
* .google.protobuf.Timestamp start_time = 2;
*/
public Builder setStartTime(nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp value) {
if (startTimeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
startTime_ = value;
onChanged();
} else {
startTimeBuilder_.setMessage(value);
}
return this;
}
/**
*
* The time at which [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
* request was received.
*
*
* .google.protobuf.Timestamp start_time = 2;
*/
public Builder setStartTime(
nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp.Builder builderForValue) {
if (startTimeBuilder_ == null) {
startTime_ = builderForValue.build();
onChanged();
} else {
startTimeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The time at which [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
* request was received.
*
*
* .google.protobuf.Timestamp start_time = 2;
*/
public Builder mergeStartTime(nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp value) {
if (startTimeBuilder_ == null) {
if (startTime_ != null) {
startTime_ =
nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial();
} else {
startTime_ = value;
}
onChanged();
} else {
startTimeBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The time at which [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
* request was received.
*
*
* .google.protobuf.Timestamp start_time = 2;
*/
public Builder clearStartTime() {
if (startTimeBuilder_ == null) {
startTime_ = null;
onChanged();
} else {
startTime_ = null;
startTimeBuilder_ = null;
}
return this;
}
/**
*
* The time at which [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
* request was received.
*
*
* .google.protobuf.Timestamp start_time = 2;
*/
public nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
onChanged();
return getStartTimeFieldBuilder().getBuilder();
}
/**
*
* The time at which [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
* request was received.
*
*
* .google.protobuf.Timestamp start_time = 2;
*/
public nl.topicus.jdbc.shaded.com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
if (startTimeBuilder_ != null) {
return startTimeBuilder_.getMessageOrBuilder();
} else {
return startTime_ == null ?
nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
}
}
/**
*
* The time at which [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
* request was received.
*
*
* .google.protobuf.Timestamp start_time = 2;
*/
private nl.topicus.jdbc.shaded.com.google.protobuf.SingleFieldBuilderV3<
nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp, nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp.Builder, nl.topicus.jdbc.shaded.com.google.protobuf.TimestampOrBuilder>
getStartTimeFieldBuilder() {
if (startTimeBuilder_ == null) {
startTimeBuilder_ = new nl.topicus.jdbc.shaded.com.google.protobuf.SingleFieldBuilderV3<
nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp, nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp.Builder, nl.topicus.jdbc.shaded.com.google.protobuf.TimestampOrBuilder>(
getStartTime(),
getParentForChildren(),
isClean());
startTime_ = null;
}
return startTimeBuilder_;
}
private nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp cancelTime_ = null;
private nl.topicus.jdbc.shaded.com.google.protobuf.SingleFieldBuilderV3<
nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp, nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp.Builder, nl.topicus.jdbc.shaded.com.google.protobuf.TimestampOrBuilder> cancelTimeBuilder_;
/**
*
* The time at which this operation was cancelled. If set, this operation is
* in the process of undoing itself (which is guaranteed to succeed) and
* cannot be cancelled again.
*
*
* .google.protobuf.Timestamp cancel_time = 3;
*/
public boolean hasCancelTime() {
return cancelTimeBuilder_ != null || cancelTime_ != null;
}
/**
*
* The time at which this operation was cancelled. If set, this operation is
* in the process of undoing itself (which is guaranteed to succeed) and
* cannot be cancelled again.
*
*
* .google.protobuf.Timestamp cancel_time = 3;
*/
public nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp getCancelTime() {
if (cancelTimeBuilder_ == null) {
return cancelTime_ == null ? nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_;
} else {
return cancelTimeBuilder_.getMessage();
}
}
/**
*
* The time at which this operation was cancelled. If set, this operation is
* in the process of undoing itself (which is guaranteed to succeed) and
* cannot be cancelled again.
*
*
* .google.protobuf.Timestamp cancel_time = 3;
*/
public Builder setCancelTime(nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp value) {
if (cancelTimeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
cancelTime_ = value;
onChanged();
} else {
cancelTimeBuilder_.setMessage(value);
}
return this;
}
/**
*
* The time at which this operation was cancelled. If set, this operation is
* in the process of undoing itself (which is guaranteed to succeed) and
* cannot be cancelled again.
*
*
* .google.protobuf.Timestamp cancel_time = 3;
*/
public Builder setCancelTime(
nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp.Builder builderForValue) {
if (cancelTimeBuilder_ == null) {
cancelTime_ = builderForValue.build();
onChanged();
} else {
cancelTimeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The time at which this operation was cancelled. If set, this operation is
* in the process of undoing itself (which is guaranteed to succeed) and
* cannot be cancelled again.
*
*
* .google.protobuf.Timestamp cancel_time = 3;
*/
public Builder mergeCancelTime(nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp value) {
if (cancelTimeBuilder_ == null) {
if (cancelTime_ != null) {
cancelTime_ =
nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp.newBuilder(cancelTime_).mergeFrom(value).buildPartial();
} else {
cancelTime_ = value;
}
onChanged();
} else {
cancelTimeBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The time at which this operation was cancelled. If set, this operation is
* in the process of undoing itself (which is guaranteed to succeed) and
* cannot be cancelled again.
*
*
* .google.protobuf.Timestamp cancel_time = 3;
*/
public Builder clearCancelTime() {
if (cancelTimeBuilder_ == null) {
cancelTime_ = null;
onChanged();
} else {
cancelTime_ = null;
cancelTimeBuilder_ = null;
}
return this;
}
/**
*
* The time at which this operation was cancelled. If set, this operation is
* in the process of undoing itself (which is guaranteed to succeed) and
* cannot be cancelled again.
*
*
* .google.protobuf.Timestamp cancel_time = 3;
*/
public nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp.Builder getCancelTimeBuilder() {
onChanged();
return getCancelTimeFieldBuilder().getBuilder();
}
/**
*
* The time at which this operation was cancelled. If set, this operation is
* in the process of undoing itself (which is guaranteed to succeed) and
* cannot be cancelled again.
*
*
* .google.protobuf.Timestamp cancel_time = 3;
*/
public nl.topicus.jdbc.shaded.com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
if (cancelTimeBuilder_ != null) {
return cancelTimeBuilder_.getMessageOrBuilder();
} else {
return cancelTime_ == null ?
nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_;
}
}
/**
*
* The time at which this operation was cancelled. If set, this operation is
* in the process of undoing itself (which is guaranteed to succeed) and
* cannot be cancelled again.
*
*
* .google.protobuf.Timestamp cancel_time = 3;
*/
private nl.topicus.jdbc.shaded.com.google.protobuf.SingleFieldBuilderV3<
nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp, nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp.Builder, nl.topicus.jdbc.shaded.com.google.protobuf.TimestampOrBuilder>
getCancelTimeFieldBuilder() {
if (cancelTimeBuilder_ == null) {
cancelTimeBuilder_ = new nl.topicus.jdbc.shaded.com.google.protobuf.SingleFieldBuilderV3<
nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp, nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp.Builder, nl.topicus.jdbc.shaded.com.google.protobuf.TimestampOrBuilder>(
getCancelTime(),
getParentForChildren(),
isClean());
cancelTime_ = null;
}
return cancelTimeBuilder_;
}
private nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp endTime_ = null;
private nl.topicus.jdbc.shaded.com.google.protobuf.SingleFieldBuilderV3<
nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp, nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp.Builder, nl.topicus.jdbc.shaded.com.google.protobuf.TimestampOrBuilder> endTimeBuilder_;
/**
*
* The time at which this operation failed or was completed successfully.
*
*
* .google.protobuf.Timestamp end_time = 4;
*/
public boolean hasEndTime() {
return endTimeBuilder_ != null || endTime_ != null;
}
/**
*
* The time at which this operation failed or was completed successfully.
*
*
* .google.protobuf.Timestamp end_time = 4;
*/
public nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp getEndTime() {
if (endTimeBuilder_ == null) {
return endTime_ == null ? nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
} else {
return endTimeBuilder_.getMessage();
}
}
/**
*
* The time at which this operation failed or was completed successfully.
*
*
* .google.protobuf.Timestamp end_time = 4;
*/
public Builder setEndTime(nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp value) {
if (endTimeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
endTime_ = value;
onChanged();
} else {
endTimeBuilder_.setMessage(value);
}
return this;
}
/**
*
* The time at which this operation failed or was completed successfully.
*
*
* .google.protobuf.Timestamp end_time = 4;
*/
public Builder setEndTime(
nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp.Builder builderForValue) {
if (endTimeBuilder_ == null) {
endTime_ = builderForValue.build();
onChanged();
} else {
endTimeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The time at which this operation failed or was completed successfully.
*
*
* .google.protobuf.Timestamp end_time = 4;
*/
public Builder mergeEndTime(nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp value) {
if (endTimeBuilder_ == null) {
if (endTime_ != null) {
endTime_ =
nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
} else {
endTime_ = value;
}
onChanged();
} else {
endTimeBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The time at which this operation failed or was completed successfully.
*
*
* .google.protobuf.Timestamp end_time = 4;
*/
public Builder clearEndTime() {
if (endTimeBuilder_ == null) {
endTime_ = null;
onChanged();
} else {
endTime_ = null;
endTimeBuilder_ = null;
}
return this;
}
/**
*
* The time at which this operation failed or was completed successfully.
*
*
* .google.protobuf.Timestamp end_time = 4;
*/
public nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
onChanged();
return getEndTimeFieldBuilder().getBuilder();
}
/**
*
* The time at which this operation failed or was completed successfully.
*
*
* .google.protobuf.Timestamp end_time = 4;
*/
public nl.topicus.jdbc.shaded.com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
if (endTimeBuilder_ != null) {
return endTimeBuilder_.getMessageOrBuilder();
} else {
return endTime_ == null ?
nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
}
}
/**
*
* The time at which this operation failed or was completed successfully.
*
*
* .google.protobuf.Timestamp end_time = 4;
*/
private nl.topicus.jdbc.shaded.com.google.protobuf.SingleFieldBuilderV3<
nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp, nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp.Builder, nl.topicus.jdbc.shaded.com.google.protobuf.TimestampOrBuilder>
getEndTimeFieldBuilder() {
if (endTimeBuilder_ == null) {
endTimeBuilder_ = new nl.topicus.jdbc.shaded.com.google.protobuf.SingleFieldBuilderV3<
nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp, nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp.Builder, nl.topicus.jdbc.shaded.com.google.protobuf.TimestampOrBuilder>(
getEndTime(),
getParentForChildren(),
isClean());
endTime_ = null;
}
return endTimeBuilder_;
}
public final Builder setUnknownFields(
final nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.UpdateInstanceMetadata)
}
// @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.UpdateInstanceMetadata)
private static final nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.UpdateInstanceMetadata DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.UpdateInstanceMetadata();
}
public static nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.UpdateInstanceMetadata getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final nl.topicus.jdbc.shaded.com.google.protobuf.Parser
PARSER = new nl.topicus.jdbc.shaded.com.google.protobuf.AbstractParser() {
public UpdateInstanceMetadata parsePartialFrom(
nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input,
nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException {
return new UpdateInstanceMetadata(input, extensionRegistry);
}
};
public static nl.topicus.jdbc.shaded.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public nl.topicus.jdbc.shaded.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.UpdateInstanceMetadata getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}