Class ResourceMaintenance.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ResourceMaintenance.Builder>
com.google.cloud.maintenance.api.v1.ResourceMaintenance.Builder
- All Implemented Interfaces:
ResourceMaintenanceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ResourceMaintenance
public static final class ResourceMaintenance.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ResourceMaintenance.Builder>
implements ResourceMaintenanceOrBuilder
ResourceMaintenance is a resource that represents a maintenance operation on a resource.Protobuf type
google.cloud.maintenance.api.v1.ResourceMaintenance-
Method Summary
Modifier and TypeMethodDescriptionaddAllControls(Iterable<? extends MaintenanceControl> values) Output only.addControls(int index, MaintenanceControl value) Output only.addControls(int index, MaintenanceControl.Builder builderForValue) Output only.addControls(MaintenanceControl value) Output only.addControls(MaintenanceControl.Builder builderForValue) Output only.Output only.addControlsBuilder(int index) Output only.build()clear()Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Identifier.Output only.Output only.clearUid()Output only.Output only.Output only.booleanOptional.booleancontainsLabels(String key) Optional.Deprecated.intOptional.Optional.getAnnotationsOrDefault(String key, String defaultValue) Optional.Optional.getControls(int index) Output only.getControlsBuilder(int index) Output only.Output only.intOutput only.Output only.getControlsOrBuilder(int index) Output only.List<? extends MaintenanceControlOrBuilder>Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEtag()Output only.com.google.protobuf.ByteStringOutput only.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.Output only.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Deprecated.Deprecated.getName()Identifier.com.google.protobuf.ByteStringIdentifier.Output only.Output only.Output only.getState()Output only.intOutput only.getUid()Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(ResourceMaintenance other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Output only.mergeMaintenanceCancelTime(com.google.protobuf.Timestamp value) Output only.mergeMaintenanceEndTime(com.google.protobuf.Timestamp value) Output only.mergeMaintenanceScheduledEndTime(com.google.protobuf.Timestamp value) Output only.mergeMaintenanceScheduledStartTime(com.google.protobuf.Timestamp value) Output only.mergeMaintenanceStartTime(com.google.protobuf.Timestamp value) Output only.Output only.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.putAllAnnotations(Map<String, String> values) Optional.putAllLabels(Map<String, String> values) Optional.putAnnotations(String key, String value) Optional.Optional.removeAnnotations(String key) Optional.removeControls(int index) Output only.removeLabels(String key) Optional.setControls(int index, MaintenanceControl value) Output only.setControls(int index, MaintenanceControl.Builder builderForValue) Output only.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Output only.setEtagBytes(com.google.protobuf.ByteString value) Output only.Output only.setMaintenance(ResourceMaintenance.Maintenance.Builder builderForValue) Output only.setMaintenanceCancelTime(com.google.protobuf.Timestamp value) Output only.setMaintenanceCancelTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setMaintenanceEndTime(com.google.protobuf.Timestamp value) Output only.setMaintenanceEndTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setMaintenanceScheduledEndTime(com.google.protobuf.Timestamp value) Output only.setMaintenanceScheduledEndTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setMaintenanceScheduledStartTime(com.google.protobuf.Timestamp value) Output only.setMaintenanceScheduledStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setMaintenanceStartTime(com.google.protobuf.Timestamp value) Output only.setMaintenanceStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Identifier.setNameBytes(com.google.protobuf.ByteString value) Identifier.Output only.setResource(ResourceMaintenance.Resource.Builder builderForValue) Output only.Output only.setStateValue(int value) Output only.Output only.setUidBytes(com.google.protobuf.ByteString value) Output only.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setUserControllable(boolean value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<ResourceMaintenance.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<ResourceMaintenance.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ResourceMaintenance.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ResourceMaintenance.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ResourceMaintenance.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ResourceMaintenance.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ResourceMaintenance.Builder>
-
mergeFrom
public ResourceMaintenance.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ResourceMaintenance.Builder>- Throws:
IOException
-
getName
Identifier. The name of the resource_maintenance resource. Format: `"projects/{project}/locations/{location}/resourceMaintenance/{resource-maintenance-id}"`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNamein interfaceResourceMaintenanceOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Identifier. The name of the resource_maintenance resource. Format: `"projects/{project}/locations/{location}/resourceMaintenance/{resource-maintenance-id}"`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNameBytesin interfaceResourceMaintenanceOrBuilder- Returns:
- The bytes for name.
-
setName
Identifier. The name of the resource_maintenance resource. Format: `"projects/{project}/locations/{location}/resourceMaintenance/{resource-maintenance-id}"`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Identifier. The name of the resource_maintenance resource. Format: `"projects/{project}/locations/{location}/resourceMaintenance/{resource-maintenance-id}"`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- This builder for chaining.
-
setNameBytes
Identifier. The name of the resource_maintenance resource. Format: `"projects/{project}/locations/{location}/resourceMaintenance/{resource-maintenance-id}"`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasResource
public boolean hasResource()Output only. The resource spec of the resource maintenance.
.google.cloud.maintenance.api.v1.ResourceMaintenance.Resource resource = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasResourcein interfaceResourceMaintenanceOrBuilder- Returns:
- Whether the resource field is set.
-
getResource
Output only. The resource spec of the resource maintenance.
.google.cloud.maintenance.api.v1.ResourceMaintenance.Resource resource = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getResourcein interfaceResourceMaintenanceOrBuilder- Returns:
- The resource.
-
setResource
Output only. The resource spec of the resource maintenance.
.google.cloud.maintenance.api.v1.ResourceMaintenance.Resource resource = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setResource
public ResourceMaintenance.Builder setResource(ResourceMaintenance.Resource.Builder builderForValue) Output only. The resource spec of the resource maintenance.
.google.cloud.maintenance.api.v1.ResourceMaintenance.Resource resource = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeResource
Output only. The resource spec of the resource maintenance.
.google.cloud.maintenance.api.v1.ResourceMaintenance.Resource resource = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearResource
Output only. The resource spec of the resource maintenance.
.google.cloud.maintenance.api.v1.ResourceMaintenance.Resource resource = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getResourceBuilder
Output only. The resource spec of the resource maintenance.
.google.cloud.maintenance.api.v1.ResourceMaintenance.Resource resource = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getResourceOrBuilder
Output only. The resource spec of the resource maintenance.
.google.cloud.maintenance.api.v1.ResourceMaintenance.Resource resource = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getResourceOrBuilderin interfaceResourceMaintenanceOrBuilder
-
hasMaintenance
public boolean hasMaintenance()Output only. The details of the maintenance.
.google.cloud.maintenance.api.v1.ResourceMaintenance.Maintenance maintenance = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasMaintenancein interfaceResourceMaintenanceOrBuilder- Returns:
- Whether the maintenance field is set.
-
getMaintenance
Output only. The details of the maintenance.
.google.cloud.maintenance.api.v1.ResourceMaintenance.Maintenance maintenance = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMaintenancein interfaceResourceMaintenanceOrBuilder- Returns:
- The maintenance.
-
setMaintenance
Output only. The details of the maintenance.
.google.cloud.maintenance.api.v1.ResourceMaintenance.Maintenance maintenance = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setMaintenance
public ResourceMaintenance.Builder setMaintenance(ResourceMaintenance.Maintenance.Builder builderForValue) Output only. The details of the maintenance.
.google.cloud.maintenance.api.v1.ResourceMaintenance.Maintenance maintenance = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeMaintenance
Output only. The details of the maintenance.
.google.cloud.maintenance.api.v1.ResourceMaintenance.Maintenance maintenance = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearMaintenance
Output only. The details of the maintenance.
.google.cloud.maintenance.api.v1.ResourceMaintenance.Maintenance maintenance = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getMaintenanceBuilder
Output only. The details of the maintenance.
.google.cloud.maintenance.api.v1.ResourceMaintenance.Maintenance maintenance = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getMaintenanceOrBuilder
Output only. The details of the maintenance.
.google.cloud.maintenance.api.v1.ResourceMaintenance.Maintenance maintenance = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMaintenanceOrBuilderin interfaceResourceMaintenanceOrBuilder
-
getStateValue
public int getStateValue()Output only. The state of the resource maintenance.
.google.cloud.maintenance.api.v1.ResourceMaintenance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceResourceMaintenanceOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. The state of the resource maintenance.
.google.cloud.maintenance.api.v1.ResourceMaintenance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Output only. The state of the resource maintenance.
.google.cloud.maintenance.api.v1.ResourceMaintenance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceResourceMaintenanceOrBuilder- Returns:
- The state.
-
setState
Output only. The state of the resource maintenance.
.google.cloud.maintenance.api.v1.ResourceMaintenance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. The state of the resource maintenance.
.google.cloud.maintenance.api.v1.ResourceMaintenance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Output only. The create time of the resource maintenance.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceResourceMaintenanceOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. The create time of the resource maintenance.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceResourceMaintenanceOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. The create time of the resource maintenance.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
public ResourceMaintenance.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. The create time of the resource maintenance.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. The create time of the resource maintenance.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. The create time of the resource maintenance.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. The create time of the resource maintenance.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The create time of the resource maintenance.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceResourceMaintenanceOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. The update time of the resource maintenance.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceResourceMaintenanceOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. The update time of the resource maintenance.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceResourceMaintenanceOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. The update time of the resource maintenance.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
public ResourceMaintenance.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. The update time of the resource maintenance.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. The update time of the resource maintenance.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. The update time of the resource maintenance.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. The update time of the resource maintenance.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The update time of the resource maintenance.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceResourceMaintenanceOrBuilder
-
hasMaintenanceStartTime
public boolean hasMaintenanceStartTime()Output only. The time when the resource maintenance has started.
.google.protobuf.Timestamp maintenance_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasMaintenanceStartTimein interfaceResourceMaintenanceOrBuilder- Returns:
- Whether the maintenanceStartTime field is set.
-
getMaintenanceStartTime
public com.google.protobuf.Timestamp getMaintenanceStartTime()Output only. The time when the resource maintenance has started.
.google.protobuf.Timestamp maintenance_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMaintenanceStartTimein interfaceResourceMaintenanceOrBuilder- Returns:
- The maintenanceStartTime.
-
setMaintenanceStartTime
Output only. The time when the resource maintenance has started.
.google.protobuf.Timestamp maintenance_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setMaintenanceStartTime
public ResourceMaintenance.Builder setMaintenanceStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. The time when the resource maintenance has started.
.google.protobuf.Timestamp maintenance_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeMaintenanceStartTime
Output only. The time when the resource maintenance has started.
.google.protobuf.Timestamp maintenance_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearMaintenanceStartTime
Output only. The time when the resource maintenance has started.
.google.protobuf.Timestamp maintenance_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getMaintenanceStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getMaintenanceStartTimeBuilder()Output only. The time when the resource maintenance has started.
.google.protobuf.Timestamp maintenance_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getMaintenanceStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getMaintenanceStartTimeOrBuilder()Output only. The time when the resource maintenance has started.
.google.protobuf.Timestamp maintenance_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMaintenanceStartTimeOrBuilderin interfaceResourceMaintenanceOrBuilder
-
hasMaintenanceEndTime
public boolean hasMaintenanceEndTime()Output only. The time when the resource maintenance has completed.
.google.protobuf.Timestamp maintenance_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasMaintenanceEndTimein interfaceResourceMaintenanceOrBuilder- Returns:
- Whether the maintenanceEndTime field is set.
-
getMaintenanceEndTime
public com.google.protobuf.Timestamp getMaintenanceEndTime()Output only. The time when the resource maintenance has completed.
.google.protobuf.Timestamp maintenance_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMaintenanceEndTimein interfaceResourceMaintenanceOrBuilder- Returns:
- The maintenanceEndTime.
-
setMaintenanceEndTime
Output only. The time when the resource maintenance has completed.
.google.protobuf.Timestamp maintenance_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setMaintenanceEndTime
public ResourceMaintenance.Builder setMaintenanceEndTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. The time when the resource maintenance has completed.
.google.protobuf.Timestamp maintenance_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeMaintenanceEndTime
Output only. The time when the resource maintenance has completed.
.google.protobuf.Timestamp maintenance_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearMaintenanceEndTime
Output only. The time when the resource maintenance has completed.
.google.protobuf.Timestamp maintenance_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getMaintenanceEndTimeBuilder
public com.google.protobuf.Timestamp.Builder getMaintenanceEndTimeBuilder()Output only. The time when the resource maintenance has completed.
.google.protobuf.Timestamp maintenance_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getMaintenanceEndTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getMaintenanceEndTimeOrBuilder()Output only. The time when the resource maintenance has completed.
.google.protobuf.Timestamp maintenance_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMaintenanceEndTimeOrBuilderin interfaceResourceMaintenanceOrBuilder
-
hasMaintenanceCancelTime
public boolean hasMaintenanceCancelTime()Output only. The time when the resource maintenance was cancelled.
.google.protobuf.Timestamp maintenance_cancel_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasMaintenanceCancelTimein interfaceResourceMaintenanceOrBuilder- Returns:
- Whether the maintenanceCancelTime field is set.
-
getMaintenanceCancelTime
public com.google.protobuf.Timestamp getMaintenanceCancelTime()Output only. The time when the resource maintenance was cancelled.
.google.protobuf.Timestamp maintenance_cancel_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMaintenanceCancelTimein interfaceResourceMaintenanceOrBuilder- Returns:
- The maintenanceCancelTime.
-
setMaintenanceCancelTime
Output only. The time when the resource maintenance was cancelled.
.google.protobuf.Timestamp maintenance_cancel_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setMaintenanceCancelTime
public ResourceMaintenance.Builder setMaintenanceCancelTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. The time when the resource maintenance was cancelled.
.google.protobuf.Timestamp maintenance_cancel_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeMaintenanceCancelTime
Output only. The time when the resource maintenance was cancelled.
.google.protobuf.Timestamp maintenance_cancel_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearMaintenanceCancelTime
Output only. The time when the resource maintenance was cancelled.
.google.protobuf.Timestamp maintenance_cancel_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getMaintenanceCancelTimeBuilder
public com.google.protobuf.Timestamp.Builder getMaintenanceCancelTimeBuilder()Output only. The time when the resource maintenance was cancelled.
.google.protobuf.Timestamp maintenance_cancel_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getMaintenanceCancelTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getMaintenanceCancelTimeOrBuilder()Output only. The time when the resource maintenance was cancelled.
.google.protobuf.Timestamp maintenance_cancel_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMaintenanceCancelTimeOrBuilderin interfaceResourceMaintenanceOrBuilder
-
hasMaintenanceScheduledStartTime
public boolean hasMaintenanceScheduledStartTime()Output only. The time when the maintenance on the resource was scheduled to start.
.google.protobuf.Timestamp maintenance_scheduled_start_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasMaintenanceScheduledStartTimein interfaceResourceMaintenanceOrBuilder- Returns:
- Whether the maintenanceScheduledStartTime field is set.
-
getMaintenanceScheduledStartTime
public com.google.protobuf.Timestamp getMaintenanceScheduledStartTime()Output only. The time when the maintenance on the resource was scheduled to start.
.google.protobuf.Timestamp maintenance_scheduled_start_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMaintenanceScheduledStartTimein interfaceResourceMaintenanceOrBuilder- Returns:
- The maintenanceScheduledStartTime.
-
setMaintenanceScheduledStartTime
public ResourceMaintenance.Builder setMaintenanceScheduledStartTime(com.google.protobuf.Timestamp value) Output only. The time when the maintenance on the resource was scheduled to start.
.google.protobuf.Timestamp maintenance_scheduled_start_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setMaintenanceScheduledStartTime
public ResourceMaintenance.Builder setMaintenanceScheduledStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. The time when the maintenance on the resource was scheduled to start.
.google.protobuf.Timestamp maintenance_scheduled_start_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeMaintenanceScheduledStartTime
public ResourceMaintenance.Builder mergeMaintenanceScheduledStartTime(com.google.protobuf.Timestamp value) Output only. The time when the maintenance on the resource was scheduled to start.
.google.protobuf.Timestamp maintenance_scheduled_start_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearMaintenanceScheduledStartTime
Output only. The time when the maintenance on the resource was scheduled to start.
.google.protobuf.Timestamp maintenance_scheduled_start_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getMaintenanceScheduledStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getMaintenanceScheduledStartTimeBuilder()Output only. The time when the maintenance on the resource was scheduled to start.
.google.protobuf.Timestamp maintenance_scheduled_start_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getMaintenanceScheduledStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getMaintenanceScheduledStartTimeOrBuilder()Output only. The time when the maintenance on the resource was scheduled to start.
.google.protobuf.Timestamp maintenance_scheduled_start_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMaintenanceScheduledStartTimeOrBuilderin interfaceResourceMaintenanceOrBuilder
-
hasMaintenanceScheduledEndTime
public boolean hasMaintenanceScheduledEndTime()Output only. The time when the maintenance on the resource was scheduled to end.
.google.protobuf.Timestamp maintenance_scheduled_end_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasMaintenanceScheduledEndTimein interfaceResourceMaintenanceOrBuilder- Returns:
- Whether the maintenanceScheduledEndTime field is set.
-
getMaintenanceScheduledEndTime
public com.google.protobuf.Timestamp getMaintenanceScheduledEndTime()Output only. The time when the maintenance on the resource was scheduled to end.
.google.protobuf.Timestamp maintenance_scheduled_end_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMaintenanceScheduledEndTimein interfaceResourceMaintenanceOrBuilder- Returns:
- The maintenanceScheduledEndTime.
-
setMaintenanceScheduledEndTime
public ResourceMaintenance.Builder setMaintenanceScheduledEndTime(com.google.protobuf.Timestamp value) Output only. The time when the maintenance on the resource was scheduled to end.
.google.protobuf.Timestamp maintenance_scheduled_end_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setMaintenanceScheduledEndTime
public ResourceMaintenance.Builder setMaintenanceScheduledEndTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. The time when the maintenance on the resource was scheduled to end.
.google.protobuf.Timestamp maintenance_scheduled_end_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeMaintenanceScheduledEndTime
public ResourceMaintenance.Builder mergeMaintenanceScheduledEndTime(com.google.protobuf.Timestamp value) Output only. The time when the maintenance on the resource was scheduled to end.
.google.protobuf.Timestamp maintenance_scheduled_end_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearMaintenanceScheduledEndTime
Output only. The time when the maintenance on the resource was scheduled to end.
.google.protobuf.Timestamp maintenance_scheduled_end_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getMaintenanceScheduledEndTimeBuilder
public com.google.protobuf.Timestamp.Builder getMaintenanceScheduledEndTimeBuilder()Output only. The time when the maintenance on the resource was scheduled to end.
.google.protobuf.Timestamp maintenance_scheduled_end_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getMaintenanceScheduledEndTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getMaintenanceScheduledEndTimeOrBuilder()Output only. The time when the maintenance on the resource was scheduled to end.
.google.protobuf.Timestamp maintenance_scheduled_end_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMaintenanceScheduledEndTimeOrBuilderin interfaceResourceMaintenanceOrBuilder
-
getUserControllable
public boolean getUserControllable()Output only. Indicates whether the user has some control over that maintenance, either proactively before maintenance was scheduled with maintenance policy or with reactive controls after it was scheduled (see controls field)
bool user_controllable = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUserControllablein interfaceResourceMaintenanceOrBuilder- Returns:
- The userControllable.
-
setUserControllable
Output only. Indicates whether the user has some control over that maintenance, either proactively before maintenance was scheduled with maintenance policy or with reactive controls after it was scheduled (see controls field)
bool user_controllable = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The userControllable to set.- Returns:
- This builder for chaining.
-
clearUserControllable
Output only. Indicates whether the user has some control over that maintenance, either proactively before maintenance was scheduled with maintenance policy or with reactive controls after it was scheduled (see controls field)
bool user_controllable = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getControlsList
Output only. The controls of the maintenance.
repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getControlsListin interfaceResourceMaintenanceOrBuilder
-
getControlsCount
public int getControlsCount()Output only. The controls of the maintenance.
repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getControlsCountin interfaceResourceMaintenanceOrBuilder
-
getControls
Output only. The controls of the maintenance.
repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getControlsin interfaceResourceMaintenanceOrBuilder
-
setControls
Output only. The controls of the maintenance.
repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setControls
public ResourceMaintenance.Builder setControls(int index, MaintenanceControl.Builder builderForValue) Output only. The controls of the maintenance.
repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addControls
Output only. The controls of the maintenance.
repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addControls
Output only. The controls of the maintenance.
repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addControls
Output only. The controls of the maintenance.
repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addControls
public ResourceMaintenance.Builder addControls(int index, MaintenanceControl.Builder builderForValue) Output only. The controls of the maintenance.
repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addAllControls
Output only. The controls of the maintenance.
repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearControls
Output only. The controls of the maintenance.
repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
removeControls
Output only. The controls of the maintenance.
repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getControlsBuilder
Output only. The controls of the maintenance.
repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getControlsOrBuilder
Output only. The controls of the maintenance.
repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getControlsOrBuilderin interfaceResourceMaintenanceOrBuilder
-
getControlsOrBuilderList
Output only. The controls of the maintenance.
repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getControlsOrBuilderListin interfaceResourceMaintenanceOrBuilder
-
addControlsBuilder
Output only. The controls of the maintenance.
repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addControlsBuilder
Output only. The controls of the maintenance.
repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getControlsBuilderList
Output only. The controls of the maintenance.
repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getLabelsCount
public int getLabelsCount()Description copied from interface:ResourceMaintenanceOrBuilderOptional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.
map<string, string> labels = 10401 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsCountin interfaceResourceMaintenanceOrBuilder
-
containsLabels
Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.
map<string, string> labels = 10401 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsLabelsin interfaceResourceMaintenanceOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceResourceMaintenanceOrBuilder
-
getLabelsMap
Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.
map<string, string> labels = 10401 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsMapin interfaceResourceMaintenanceOrBuilder
-
getLabelsOrDefault
Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.
map<string, string> labels = 10401 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrDefaultin interfaceResourceMaintenanceOrBuilder
-
getLabelsOrThrow
Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.
map<string, string> labels = 10401 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrThrowin interfaceResourceMaintenanceOrBuilder
-
clearLabels
-
removeLabels
Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.
map<string, string> labels = 10401 [(.google.api.field_behavior) = OPTIONAL]; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.
map<string, string> labels = 10401 [(.google.api.field_behavior) = OPTIONAL]; -
putAllLabels
Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.
map<string, string> labels = 10401 [(.google.api.field_behavior) = OPTIONAL]; -
getAnnotationsCount
public int getAnnotationsCount()Description copied from interface:ResourceMaintenanceOrBuilderOptional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations
map<string, string> annotations = 10402 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnnotationsCountin interfaceResourceMaintenanceOrBuilder
-
containsAnnotations
Optional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations
map<string, string> annotations = 10402 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsAnnotationsin interfaceResourceMaintenanceOrBuilder
-
getAnnotations
Deprecated.UsegetAnnotationsMap()instead.- Specified by:
getAnnotationsin interfaceResourceMaintenanceOrBuilder
-
getAnnotationsMap
Optional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations
map<string, string> annotations = 10402 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnnotationsMapin interfaceResourceMaintenanceOrBuilder
-
getAnnotationsOrDefault
Optional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations
map<string, string> annotations = 10402 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnnotationsOrDefaultin interfaceResourceMaintenanceOrBuilder
-
getAnnotationsOrThrow
Optional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations
map<string, string> annotations = 10402 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnnotationsOrThrowin interfaceResourceMaintenanceOrBuilder
-
clearAnnotations
-
removeAnnotations
Optional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations
map<string, string> annotations = 10402 [(.google.api.field_behavior) = OPTIONAL]; -
getMutableAnnotations
Deprecated.Use alternate mutation accessors instead. -
putAnnotations
Optional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations
map<string, string> annotations = 10402 [(.google.api.field_behavior) = OPTIONAL]; -
putAllAnnotations
Optional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations
map<string, string> annotations = 10402 [(.google.api.field_behavior) = OPTIONAL]; -
getUid
Output only. The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.
string uid = 10201 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }- Specified by:
getUidin interfaceResourceMaintenanceOrBuilder- Returns:
- The uid.
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()Output only. The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.
string uid = 10201 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }- Specified by:
getUidBytesin interfaceResourceMaintenanceOrBuilder- Returns:
- The bytes for uid.
-
setUid
Output only. The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.
string uid = 10201 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }- Parameters:
value- The uid to set.- Returns:
- This builder for chaining.
-
clearUid
Output only. The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.
string uid = 10201 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }- Returns:
- This builder for chaining.
-
setUidBytes
Output only. The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.
string uid = 10201 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }- Parameters:
value- The bytes for uid to set.- Returns:
- This builder for chaining.
-
getEtag
Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.
string etag = 10202 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEtagin interfaceResourceMaintenanceOrBuilder- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.
string etag = 10202 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEtagBytesin interfaceResourceMaintenanceOrBuilder- Returns:
- The bytes for etag.
-
setEtag
Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.
string etag = 10202 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The etag to set.- Returns:
- This builder for chaining.
-
clearEtag
Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.
string etag = 10202 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setEtagBytes
Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.
string etag = 10202 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for etag to set.- Returns:
- This builder for chaining.
-