Class InstanceManagedByIgmError.Builder

    • 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<InstanceManagedByIgmError.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<InstanceManagedByIgmError.Builder>
      • getDefaultInstanceForType

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

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

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

        public InstanceManagedByIgmError.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<InstanceManagedByIgmError.Builder>
      • isInitialized

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

        public InstanceManagedByIgmError.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<InstanceManagedByIgmError.Builder>
        Throws:
        IOException
      • hasError

        public boolean hasError()
         [Output Only] Contents of the error.
         
        optional .google.cloud.compute.v1.InstanceManagedByIgmErrorManagedInstanceError error = 96784904;
        Specified by:
        hasError in interface InstanceManagedByIgmErrorOrBuilder
        Returns:
        Whether the error field is set.
      • clearError

        public InstanceManagedByIgmError.Builder clearError()
         [Output Only] Contents of the error.
         
        optional .google.cloud.compute.v1.InstanceManagedByIgmErrorManagedInstanceError error = 96784904;
      • hasInstanceActionDetails

        public boolean hasInstanceActionDetails()
         [Output Only] Details of the instance action that triggered this error. May be null, if the error was not caused by an action on an instance. This field is optional.
         
        optional .google.cloud.compute.v1.InstanceManagedByIgmErrorInstanceActionDetails instance_action_details = 292224547;
        Specified by:
        hasInstanceActionDetails in interface InstanceManagedByIgmErrorOrBuilder
        Returns:
        Whether the instanceActionDetails field is set.
      • setInstanceActionDetails

        public InstanceManagedByIgmError.Builder setInstanceActionDetails​(InstanceManagedByIgmErrorInstanceActionDetails value)
         [Output Only] Details of the instance action that triggered this error. May be null, if the error was not caused by an action on an instance. This field is optional.
         
        optional .google.cloud.compute.v1.InstanceManagedByIgmErrorInstanceActionDetails instance_action_details = 292224547;
      • setInstanceActionDetails

        public InstanceManagedByIgmError.Builder setInstanceActionDetails​(InstanceManagedByIgmErrorInstanceActionDetails.Builder builderForValue)
         [Output Only] Details of the instance action that triggered this error. May be null, if the error was not caused by an action on an instance. This field is optional.
         
        optional .google.cloud.compute.v1.InstanceManagedByIgmErrorInstanceActionDetails instance_action_details = 292224547;
      • mergeInstanceActionDetails

        public InstanceManagedByIgmError.Builder mergeInstanceActionDetails​(InstanceManagedByIgmErrorInstanceActionDetails value)
         [Output Only] Details of the instance action that triggered this error. May be null, if the error was not caused by an action on an instance. This field is optional.
         
        optional .google.cloud.compute.v1.InstanceManagedByIgmErrorInstanceActionDetails instance_action_details = 292224547;
      • clearInstanceActionDetails

        public InstanceManagedByIgmError.Builder clearInstanceActionDetails()
         [Output Only] Details of the instance action that triggered this error. May be null, if the error was not caused by an action on an instance. This field is optional.
         
        optional .google.cloud.compute.v1.InstanceManagedByIgmErrorInstanceActionDetails instance_action_details = 292224547;
      • getInstanceActionDetailsBuilder

        public InstanceManagedByIgmErrorInstanceActionDetails.Builder getInstanceActionDetailsBuilder()
         [Output Only] Details of the instance action that triggered this error. May be null, if the error was not caused by an action on an instance. This field is optional.
         
        optional .google.cloud.compute.v1.InstanceManagedByIgmErrorInstanceActionDetails instance_action_details = 292224547;
      • hasTimestamp

        public boolean hasTimestamp()
         [Output Only] The time that this error occurred. This value is in RFC3339 text format.
         
        optional string timestamp = 55126294;
        Specified by:
        hasTimestamp in interface InstanceManagedByIgmErrorOrBuilder
        Returns:
        Whether the timestamp field is set.
      • getTimestamp

        public String getTimestamp()
         [Output Only] The time that this error occurred. This value is in RFC3339 text format.
         
        optional string timestamp = 55126294;
        Specified by:
        getTimestamp in interface InstanceManagedByIgmErrorOrBuilder
        Returns:
        The timestamp.
      • getTimestampBytes

        public com.google.protobuf.ByteString getTimestampBytes()
         [Output Only] The time that this error occurred. This value is in RFC3339 text format.
         
        optional string timestamp = 55126294;
        Specified by:
        getTimestampBytes in interface InstanceManagedByIgmErrorOrBuilder
        Returns:
        The bytes for timestamp.
      • setTimestamp

        public InstanceManagedByIgmError.Builder setTimestamp​(String value)
         [Output Only] The time that this error occurred. This value is in RFC3339 text format.
         
        optional string timestamp = 55126294;
        Parameters:
        value - The timestamp to set.
        Returns:
        This builder for chaining.
      • clearTimestamp

        public InstanceManagedByIgmError.Builder clearTimestamp()
         [Output Only] The time that this error occurred. This value is in RFC3339 text format.
         
        optional string timestamp = 55126294;
        Returns:
        This builder for chaining.
      • setTimestampBytes

        public InstanceManagedByIgmError.Builder setTimestampBytes​(com.google.protobuf.ByteString value)
         [Output Only] The time that this error occurred. This value is in RFC3339 text format.
         
        optional string timestamp = 55126294;
        Parameters:
        value - The bytes for timestamp to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final InstanceManagedByIgmError.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<InstanceManagedByIgmError.Builder>
      • mergeUnknownFields

        public final InstanceManagedByIgmError.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<InstanceManagedByIgmError.Builder>