public final class MaintenanceWindow extends GeneratedMessageV3 implements MaintenanceWindowOrBuilder
Maintenance window. This specifies when Dataproc Metastore
may perform system maintenance operation to the service.
Protobuf type google.cloud.metastore.v1.MaintenanceWindow
Static Fields
DAY_OF_WEEK_FIELD_NUMBER
public static final int DAY_OF_WEEK_FIELD_NUMBER
Field Value
HOUR_OF_DAY_FIELD_NUMBER
public static final int HOUR_OF_DAY_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static MaintenanceWindow getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static MaintenanceWindow.Builder newBuilder()
Returns
newBuilder(MaintenanceWindow prototype)
public static MaintenanceWindow.Builder newBuilder(MaintenanceWindow prototype)
Parameter
Returns
parseDelimitedFrom(InputStream input)
public static MaintenanceWindow parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MaintenanceWindow parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static MaintenanceWindow parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MaintenanceWindow parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static MaintenanceWindow parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MaintenanceWindow parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(CodedInputStream input)
public static MaintenanceWindow parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MaintenanceWindow parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(InputStream input)
public static MaintenanceWindow parseFrom(InputStream input)
Parameter
Returns
Exceptions
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MaintenanceWindow parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static MaintenanceWindow parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MaintenanceWindow parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<MaintenanceWindow> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDayOfWeek()
public DayOfWeek getDayOfWeek()
The day of week, when the window starts.
.google.type.DayOfWeek day_of_week = 2;
Returns
Type | Description |
com.google.type.DayOfWeek | The dayOfWeek.
|
getDayOfWeekValue()
public int getDayOfWeekValue()
The day of week, when the window starts.
.google.type.DayOfWeek day_of_week = 2;
Returns
Type | Description |
int | The enum numeric value on the wire for dayOfWeek.
|
getDefaultInstanceForType()
public MaintenanceWindow getDefaultInstanceForType()
Returns
getHourOfDay()
public Int32Value getHourOfDay()
The hour of day (0-23) when the window starts.
.google.protobuf.Int32Value hour_of_day = 1;
Returns
getHourOfDayOrBuilder()
public Int32ValueOrBuilder getHourOfDayOrBuilder()
The hour of day (0-23) when the window starts.
.google.protobuf.Int32Value hour_of_day = 1;
Returns
getParserForType()
public Parser<MaintenanceWindow> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasHourOfDay()
public boolean hasHourOfDay()
The hour of day (0-23) when the window starts.
.google.protobuf.Int32Value hour_of_day = 1;
Returns
Type | Description |
boolean | Whether the hourOfDay field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public MaintenanceWindow.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MaintenanceWindow.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public MaintenanceWindow.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions