Class UpdateInstanceMetadata.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, UpdateInstanceMetadataOrBuilder, Cloneable
    Enclosing class:
    UpdateInstanceMetadata

    public static final class UpdateInstanceMetadata.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateInstanceMetadata.Builder>
    implements UpdateInstanceMetadataOrBuilder
     Metadata type for the operation returned by
     [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance].
     
    Protobuf type google.spanner.admin.instance.v1.UpdateInstanceMetadata
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateInstanceMetadata.Builder>
      • clear

        public UpdateInstanceMetadata.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateInstanceMetadata.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateInstanceMetadata.Builder>
      • getDefaultInstanceForType

        public UpdateInstanceMetadata getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public UpdateInstanceMetadata build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public UpdateInstanceMetadata buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public UpdateInstanceMetadata.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateInstanceMetadata.Builder>
      • clearField

        public UpdateInstanceMetadata.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateInstanceMetadata.Builder>
      • clearOneof

        public UpdateInstanceMetadata.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateInstanceMetadata.Builder>
      • setRepeatedField

        public UpdateInstanceMetadata.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                               int index,
                                                               Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateInstanceMetadata.Builder>
      • addRepeatedField

        public UpdateInstanceMetadata.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                               Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateInstanceMetadata.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateInstanceMetadata.Builder>
      • mergeFrom

        public UpdateInstanceMetadata.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                 throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateInstanceMetadata.Builder>
        Throws:
        IOException
      • hasInstance

        public boolean hasInstance()
         The desired end state of the update.
         
        .google.spanner.admin.instance.v1.Instance instance = 1;
        Specified by:
        hasInstance in interface UpdateInstanceMetadataOrBuilder
        Returns:
        Whether the instance field is set.
      • clearInstance

        public UpdateInstanceMetadata.Builder clearInstance()
         The desired end state of the update.
         
        .google.spanner.admin.instance.v1.Instance instance = 1;
      • getInstanceBuilder

        public Instance.Builder getInstanceBuilder()
         The desired end state of the update.
         
        .google.spanner.admin.instance.v1.Instance instance = 1;
      • hasStartTime

        public boolean hasStartTime()
         The time at which
         [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
         request was received.
         
        .google.protobuf.Timestamp start_time = 2;
        Specified by:
        hasStartTime in interface UpdateInstanceMetadataOrBuilder
        Returns:
        Whether the startTime field is set.
      • getStartTime

        public com.google.protobuf.Timestamp getStartTime()
         The time at which
         [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
         request was received.
         
        .google.protobuf.Timestamp start_time = 2;
        Specified by:
        getStartTime in interface UpdateInstanceMetadataOrBuilder
        Returns:
        The startTime.
      • setStartTime

        public UpdateInstanceMetadata.Builder setStartTime​(com.google.protobuf.Timestamp value)
         The time at which
         [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
         request was received.
         
        .google.protobuf.Timestamp start_time = 2;
      • setStartTime

        public UpdateInstanceMetadata.Builder setStartTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         The time at which
         [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
         request was received.
         
        .google.protobuf.Timestamp start_time = 2;
      • mergeStartTime

        public UpdateInstanceMetadata.Builder mergeStartTime​(com.google.protobuf.Timestamp value)
         The time at which
         [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
         request was received.
         
        .google.protobuf.Timestamp start_time = 2;
      • clearStartTime

        public UpdateInstanceMetadata.Builder clearStartTime()
         The time at which
         [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
         request was received.
         
        .google.protobuf.Timestamp start_time = 2;
      • getStartTimeBuilder

        public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
         The time at which
         [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
         request was received.
         
        .google.protobuf.Timestamp start_time = 2;
      • getStartTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
         The time at which
         [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
         request was received.
         
        .google.protobuf.Timestamp start_time = 2;
        Specified by:
        getStartTimeOrBuilder in interface UpdateInstanceMetadataOrBuilder
      • hasCancelTime

        public boolean hasCancelTime()
         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;
        Specified by:
        hasCancelTime in interface UpdateInstanceMetadataOrBuilder
        Returns:
        Whether the cancelTime field is set.
      • getCancelTime

        public com.google.protobuf.Timestamp getCancelTime()
         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;
        Specified by:
        getCancelTime in interface UpdateInstanceMetadataOrBuilder
        Returns:
        The cancelTime.
      • setCancelTime

        public UpdateInstanceMetadata.Builder setCancelTime​(com.google.protobuf.Timestamp value)
         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;
      • setCancelTime

        public UpdateInstanceMetadata.Builder setCancelTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         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;
      • mergeCancelTime

        public UpdateInstanceMetadata.Builder mergeCancelTime​(com.google.protobuf.Timestamp value)
         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;
      • clearCancelTime

        public UpdateInstanceMetadata.Builder clearCancelTime()
         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;
      • getCancelTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCancelTimeBuilder()
         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;
      • getCancelTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder()
         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;
        Specified by:
        getCancelTimeOrBuilder in interface UpdateInstanceMetadataOrBuilder
      • hasEndTime

        public boolean hasEndTime()
         The time at which this operation failed or was completed successfully.
         
        .google.protobuf.Timestamp end_time = 4;
        Specified by:
        hasEndTime in interface UpdateInstanceMetadataOrBuilder
        Returns:
        Whether the endTime field is set.
      • getEndTime

        public com.google.protobuf.Timestamp getEndTime()
         The time at which this operation failed or was completed successfully.
         
        .google.protobuf.Timestamp end_time = 4;
        Specified by:
        getEndTime in interface UpdateInstanceMetadataOrBuilder
        Returns:
        The endTime.
      • setEndTime

        public UpdateInstanceMetadata.Builder setEndTime​(com.google.protobuf.Timestamp value)
         The time at which this operation failed or was completed successfully.
         
        .google.protobuf.Timestamp end_time = 4;
      • setEndTime

        public UpdateInstanceMetadata.Builder setEndTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         The time at which this operation failed or was completed successfully.
         
        .google.protobuf.Timestamp end_time = 4;
      • mergeEndTime

        public UpdateInstanceMetadata.Builder mergeEndTime​(com.google.protobuf.Timestamp value)
         The time at which this operation failed or was completed successfully.
         
        .google.protobuf.Timestamp end_time = 4;
      • clearEndTime

        public UpdateInstanceMetadata.Builder clearEndTime()
         The time at which this operation failed or was completed successfully.
         
        .google.protobuf.Timestamp end_time = 4;
      • getEndTimeBuilder

        public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
         The time at which this operation failed or was completed successfully.
         
        .google.protobuf.Timestamp end_time = 4;
      • getEndTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
         The time at which this operation failed or was completed successfully.
         
        .google.protobuf.Timestamp end_time = 4;
        Specified by:
        getEndTimeOrBuilder in interface UpdateInstanceMetadataOrBuilder
      • setUnknownFields

        public final UpdateInstanceMetadata.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateInstanceMetadata.Builder>
      • mergeUnknownFields

        public final UpdateInstanceMetadata.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateInstanceMetadata.Builder>