public static final class TimeWindow.Builder extends GeneratedMessageV3.Builder<TimeWindow.Builder> implements TimeWindowOrBuilder
Represents an arbitrary window of time.
Protobuf type google.container.v1.TimeWindow
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 TimeWindow.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public TimeWindow build()
buildPartial()
public TimeWindow buildPartial()
clear()
public TimeWindow.Builder clear()
Overrides
clearEndTime()
public TimeWindow.Builder clearEndTime()
The time that the window ends. The end time should take place after the
start time.
.google.protobuf.Timestamp end_time = 2;
clearField(Descriptors.FieldDescriptor field)
public TimeWindow.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMaintenanceExclusionOptions()
public TimeWindow.Builder clearMaintenanceExclusionOptions()
MaintenanceExclusionOptions provides maintenance exclusion related
options.
.google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3;
clearOneof(Descriptors.OneofDescriptor oneof)
public TimeWindow.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearOptions()
public TimeWindow.Builder clearOptions()
clearStartTime()
public TimeWindow.Builder clearStartTime()
The time that the window first starts.
.google.protobuf.Timestamp start_time = 1;
clone()
public TimeWindow.Builder clone()
Overrides
getDefaultInstanceForType()
public TimeWindow getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEndTime()
public Timestamp getEndTime()
The time that the window ends. The end time should take place after the
start time.
.google.protobuf.Timestamp end_time = 2;
getEndTimeBuilder()
public Timestamp.Builder getEndTimeBuilder()
The time that the window ends. The end time should take place after the
start time.
.google.protobuf.Timestamp end_time = 2;
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
The time that the window ends. The end time should take place after the
start time.
.google.protobuf.Timestamp end_time = 2;
getMaintenanceExclusionOptions()
public MaintenanceExclusionOptions getMaintenanceExclusionOptions()
MaintenanceExclusionOptions provides maintenance exclusion related
options.
.google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3;
getMaintenanceExclusionOptionsBuilder()
public MaintenanceExclusionOptions.Builder getMaintenanceExclusionOptionsBuilder()
MaintenanceExclusionOptions provides maintenance exclusion related
options.
.google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3;
getMaintenanceExclusionOptionsOrBuilder()
public MaintenanceExclusionOptionsOrBuilder getMaintenanceExclusionOptionsOrBuilder()
MaintenanceExclusionOptions provides maintenance exclusion related
options.
.google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3;
getOptionsCase()
public TimeWindow.OptionsCase getOptionsCase()
getStartTime()
public Timestamp getStartTime()
The time that the window first starts.
.google.protobuf.Timestamp start_time = 1;
Returns |
---|
Type | Description |
Timestamp | The startTime.
|
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()
The time that the window first starts.
.google.protobuf.Timestamp start_time = 1;
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
The time that the window first starts.
.google.protobuf.Timestamp start_time = 1;
hasEndTime()
public boolean hasEndTime()
The time that the window ends. The end time should take place after the
start time.
.google.protobuf.Timestamp end_time = 2;
Returns |
---|
Type | Description |
boolean | Whether the endTime field is set.
|
hasMaintenanceExclusionOptions()
public boolean hasMaintenanceExclusionOptions()
MaintenanceExclusionOptions provides maintenance exclusion related
options.
.google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3;
Returns |
---|
Type | Description |
boolean | Whether the maintenanceExclusionOptions field is set.
|
hasStartTime()
public boolean hasStartTime()
The time that the window first starts.
.google.protobuf.Timestamp start_time = 1;
Returns |
---|
Type | Description |
boolean | Whether the startTime field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeEndTime(Timestamp value)
public TimeWindow.Builder mergeEndTime(Timestamp value)
The time that the window ends. The end time should take place after the
start time.
.google.protobuf.Timestamp end_time = 2;
mergeFrom(TimeWindow other)
public TimeWindow.Builder mergeFrom(TimeWindow other)
public TimeWindow.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public TimeWindow.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeMaintenanceExclusionOptions(MaintenanceExclusionOptions value)
public TimeWindow.Builder mergeMaintenanceExclusionOptions(MaintenanceExclusionOptions value)
MaintenanceExclusionOptions provides maintenance exclusion related
options.
.google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3;
mergeStartTime(Timestamp value)
public TimeWindow.Builder mergeStartTime(Timestamp value)
The time that the window first starts.
.google.protobuf.Timestamp start_time = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TimeWindow.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setEndTime(Timestamp value)
public TimeWindow.Builder setEndTime(Timestamp value)
The time that the window ends. The end time should take place after the
start time.
.google.protobuf.Timestamp end_time = 2;
setEndTime(Timestamp.Builder builderForValue)
public TimeWindow.Builder setEndTime(Timestamp.Builder builderForValue)
The time that the window ends. The end time should take place after the
start time.
.google.protobuf.Timestamp end_time = 2;
Parameter |
---|
Name | Description |
builderForValue | Builder
|
setField(Descriptors.FieldDescriptor field, Object value)
public TimeWindow.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMaintenanceExclusionOptions(MaintenanceExclusionOptions value)
public TimeWindow.Builder setMaintenanceExclusionOptions(MaintenanceExclusionOptions value)
MaintenanceExclusionOptions provides maintenance exclusion related
options.
.google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3;
setMaintenanceExclusionOptions(MaintenanceExclusionOptions.Builder builderForValue)
public TimeWindow.Builder setMaintenanceExclusionOptions(MaintenanceExclusionOptions.Builder builderForValue)
MaintenanceExclusionOptions provides maintenance exclusion related
options.
.google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TimeWindow.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setStartTime(Timestamp value)
public TimeWindow.Builder setStartTime(Timestamp value)
The time that the window first starts.
.google.protobuf.Timestamp start_time = 1;
setStartTime(Timestamp.Builder builderForValue)
public TimeWindow.Builder setStartTime(Timestamp.Builder builderForValue)
The time that the window first starts.
.google.protobuf.Timestamp start_time = 1;
Parameter |
---|
Name | Description |
builderForValue | Builder
|
setUnknownFields(UnknownFieldSet unknownFields)
public final TimeWindow.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides