public static final class MaintenanceExclusionWindow.Builder extends GeneratedMessageV3.Builder<MaintenanceExclusionWindow.Builder> implements MaintenanceExclusionWindowOrBuilder
Represents a maintenance exclusion window.
Protobuf type google.cloud.edgecontainer.v1.MaintenanceExclusionWindow
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MaintenanceExclusionWindow.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public MaintenanceExclusionWindow build()
buildPartial()
public MaintenanceExclusionWindow buildPartial()
clear()
public MaintenanceExclusionWindow.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public MaintenanceExclusionWindow.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearId()
public MaintenanceExclusionWindow.Builder clearId()
Optional. A unique (per cluster) id for the window.
string id = 2 [(.google.api.field_behavior) = OPTIONAL];
clearOneof(Descriptors.OneofDescriptor oneof)
public MaintenanceExclusionWindow.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearWindow()
public MaintenanceExclusionWindow.Builder clearWindow()
Optional. The time window.
.google.cloud.edgecontainer.v1.TimeWindow window = 1 [(.google.api.field_behavior) = OPTIONAL];
clone()
public MaintenanceExclusionWindow.Builder clone()
Overrides
getDefaultInstanceForType()
public MaintenanceExclusionWindow getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getId()
Optional. A unique (per cluster) id for the window.
string id = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The id.
|
getIdBytes()
public ByteString getIdBytes()
Optional. A unique (per cluster) id for the window.
string id = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for id.
|
getWindow()
public TimeWindow getWindow()
Optional. The time window.
.google.cloud.edgecontainer.v1.TimeWindow window = 1 [(.google.api.field_behavior) = OPTIONAL];
getWindowBuilder()
public TimeWindow.Builder getWindowBuilder()
Optional. The time window.
.google.cloud.edgecontainer.v1.TimeWindow window = 1 [(.google.api.field_behavior) = OPTIONAL];
getWindowOrBuilder()
public TimeWindowOrBuilder getWindowOrBuilder()
Optional. The time window.
.google.cloud.edgecontainer.v1.TimeWindow window = 1 [(.google.api.field_behavior) = OPTIONAL];
hasWindow()
public boolean hasWindow()
Optional. The time window.
.google.cloud.edgecontainer.v1.TimeWindow window = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the window field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(MaintenanceExclusionWindow other)
public MaintenanceExclusionWindow.Builder mergeFrom(MaintenanceExclusionWindow other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MaintenanceExclusionWindow.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public MaintenanceExclusionWindow.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MaintenanceExclusionWindow.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeWindow(TimeWindow value)
public MaintenanceExclusionWindow.Builder mergeWindow(TimeWindow value)
Optional. The time window.
.google.cloud.edgecontainer.v1.TimeWindow window = 1 [(.google.api.field_behavior) = OPTIONAL];
setField(Descriptors.FieldDescriptor field, Object value)
public MaintenanceExclusionWindow.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setId(String value)
public MaintenanceExclusionWindow.Builder setId(String value)
Optional. A unique (per cluster) id for the window.
string id = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
String
The id to set.
|
setIdBytes(ByteString value)
public MaintenanceExclusionWindow.Builder setIdBytes(ByteString value)
Optional. A unique (per cluster) id for the window.
string id = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
ByteString
The bytes for id to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MaintenanceExclusionWindow.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MaintenanceExclusionWindow.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setWindow(TimeWindow value)
public MaintenanceExclusionWindow.Builder setWindow(TimeWindow value)
Optional. The time window.
.google.cloud.edgecontainer.v1.TimeWindow window = 1 [(.google.api.field_behavior) = OPTIONAL];
setWindow(TimeWindow.Builder builderForValue)
public MaintenanceExclusionWindow.Builder setWindow(TimeWindow.Builder builderForValue)
Optional. The time window.
.google.cloud.edgecontainer.v1.TimeWindow window = 1 [(.google.api.field_behavior) = OPTIONAL];