- 2.67.0 (latest)
- 2.66.0
- 2.65.0
- 2.63.0
- 2.62.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.2
- 2.4.1
- 2.3.8
public static final class UpgradeDetails.Builder extends GeneratedMessageV3.Builder<UpgradeDetails.Builder> implements UpgradeDetailsOrBuilder
UpgradeDetails contains detailed information of each individual upgrade operation.
Protobuf type google.container.v1.UpgradeDetails
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UpgradeDetails.BuilderImplements
UpgradeDetailsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpgradeDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
UpgradeDetails.Builder |
build()
public UpgradeDetails build()
Returns | |
---|---|
Type | Description |
UpgradeDetails |
buildPartial()
public UpgradeDetails buildPartial()
Returns | |
---|---|
Type | Description |
UpgradeDetails |
clear()
public UpgradeDetails.Builder clear()
Returns | |
---|---|
Type | Description |
UpgradeDetails.Builder |
clearEndTime()
public UpgradeDetails.Builder clearEndTime()
The end timestamp of the upgrade.
optional .google.protobuf.Timestamp end_time = 3;
Returns | |
---|---|
Type | Description |
UpgradeDetails.Builder |
clearField(Descriptors.FieldDescriptor field)
public UpgradeDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
UpgradeDetails.Builder |
clearInitialVersion()
public UpgradeDetails.Builder clearInitialVersion()
The version before the upgrade.
string initial_version = 4;
Returns | |
---|---|
Type | Description |
UpgradeDetails.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public UpgradeDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
UpgradeDetails.Builder |
clearStartTime()
public UpgradeDetails.Builder clearStartTime()
The start timestamp of the upgrade.
optional .google.protobuf.Timestamp start_time = 2;
Returns | |
---|---|
Type | Description |
UpgradeDetails.Builder |
clearStartType()
public UpgradeDetails.Builder clearStartType()
The start type of the upgrade.
.google.container.v1.UpgradeDetails.StartType start_type = 6;
Returns | |
---|---|
Type | Description |
UpgradeDetails.Builder |
This builder for chaining. |
clearState()
public UpgradeDetails.Builder clearState()
Output only. The state of the upgrade.
.google.container.v1.UpgradeDetails.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
UpgradeDetails.Builder |
This builder for chaining. |
clearTargetVersion()
public UpgradeDetails.Builder clearTargetVersion()
The version after the upgrade.
string target_version = 5;
Returns | |
---|---|
Type | Description |
UpgradeDetails.Builder |
This builder for chaining. |
clone()
public UpgradeDetails.Builder clone()
Returns | |
---|---|
Type | Description |
UpgradeDetails.Builder |
getDefaultInstanceForType()
public UpgradeDetails getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
UpgradeDetails |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEndTime()
public Timestamp getEndTime()
The end timestamp of the upgrade.
optional .google.protobuf.Timestamp end_time = 3;
Returns | |
---|---|
Type | Description |
Timestamp |
The endTime. |
getEndTimeBuilder()
public Timestamp.Builder getEndTimeBuilder()
The end timestamp of the upgrade.
optional .google.protobuf.Timestamp end_time = 3;
Returns | |
---|---|
Type | Description |
Builder |
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
The end timestamp of the upgrade.
optional .google.protobuf.Timestamp end_time = 3;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getInitialVersion()
public String getInitialVersion()
The version before the upgrade.
string initial_version = 4;
Returns | |
---|---|
Type | Description |
String |
The initialVersion. |
getInitialVersionBytes()
public ByteString getInitialVersionBytes()
The version before the upgrade.
string initial_version = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for initialVersion. |
getStartTime()
public Timestamp getStartTime()
The start timestamp of the upgrade.
optional .google.protobuf.Timestamp start_time = 2;
Returns | |
---|---|
Type | Description |
Timestamp |
The startTime. |
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()
The start timestamp of the upgrade.
optional .google.protobuf.Timestamp start_time = 2;
Returns | |
---|---|
Type | Description |
Builder |
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
The start timestamp of the upgrade.
optional .google.protobuf.Timestamp start_time = 2;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getStartType()
public UpgradeDetails.StartType getStartType()
The start type of the upgrade.
.google.container.v1.UpgradeDetails.StartType start_type = 6;
Returns | |
---|---|
Type | Description |
UpgradeDetails.StartType |
The startType. |
getStartTypeValue()
public int getStartTypeValue()
The start type of the upgrade.
.google.container.v1.UpgradeDetails.StartType start_type = 6;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for startType. |
getState()
public UpgradeDetails.State getState()
Output only. The state of the upgrade.
.google.container.v1.UpgradeDetails.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
UpgradeDetails.State |
The state. |
getStateValue()
public int getStateValue()
Output only. The state of the upgrade.
.google.container.v1.UpgradeDetails.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for state. |
getTargetVersion()
public String getTargetVersion()
The version after the upgrade.
string target_version = 5;
Returns | |
---|---|
Type | Description |
String |
The targetVersion. |
getTargetVersionBytes()
public ByteString getTargetVersionBytes()
The version after the upgrade.
string target_version = 5;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for targetVersion. |
hasEndTime()
public boolean hasEndTime()
The end timestamp of the upgrade.
optional .google.protobuf.Timestamp end_time = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the endTime field is set. |
hasStartTime()
public boolean hasStartTime()
The start timestamp of the upgrade.
optional .google.protobuf.Timestamp start_time = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the startTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeEndTime(Timestamp value)
public UpgradeDetails.Builder mergeEndTime(Timestamp value)
The end timestamp of the upgrade.
optional .google.protobuf.Timestamp end_time = 3;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
UpgradeDetails.Builder |
mergeFrom(UpgradeDetails other)
public UpgradeDetails.Builder mergeFrom(UpgradeDetails other)
Parameter | |
---|---|
Name | Description |
other |
UpgradeDetails |
Returns | |
---|---|
Type | Description |
UpgradeDetails.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpgradeDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UpgradeDetails.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public UpgradeDetails.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
UpgradeDetails.Builder |
mergeStartTime(Timestamp value)
public UpgradeDetails.Builder mergeStartTime(Timestamp value)
The start timestamp of the upgrade.
optional .google.protobuf.Timestamp start_time = 2;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
UpgradeDetails.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpgradeDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
UpgradeDetails.Builder |
setEndTime(Timestamp value)
public UpgradeDetails.Builder setEndTime(Timestamp value)
The end timestamp of the upgrade.
optional .google.protobuf.Timestamp end_time = 3;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
UpgradeDetails.Builder |
setEndTime(Timestamp.Builder builderForValue)
public UpgradeDetails.Builder setEndTime(Timestamp.Builder builderForValue)
The end timestamp of the upgrade.
optional .google.protobuf.Timestamp end_time = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
UpgradeDetails.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public UpgradeDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
UpgradeDetails.Builder |
setInitialVersion(String value)
public UpgradeDetails.Builder setInitialVersion(String value)
The version before the upgrade.
string initial_version = 4;
Parameter | |
---|---|
Name | Description |
value |
String The initialVersion to set. |
Returns | |
---|---|
Type | Description |
UpgradeDetails.Builder |
This builder for chaining. |
setInitialVersionBytes(ByteString value)
public UpgradeDetails.Builder setInitialVersionBytes(ByteString value)
The version before the upgrade.
string initial_version = 4;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for initialVersion to set. |
Returns | |
---|---|
Type | Description |
UpgradeDetails.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpgradeDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
UpgradeDetails.Builder |
setStartTime(Timestamp value)
public UpgradeDetails.Builder setStartTime(Timestamp value)
The start timestamp of the upgrade.
optional .google.protobuf.Timestamp start_time = 2;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
UpgradeDetails.Builder |
setStartTime(Timestamp.Builder builderForValue)
public UpgradeDetails.Builder setStartTime(Timestamp.Builder builderForValue)
The start timestamp of the upgrade.
optional .google.protobuf.Timestamp start_time = 2;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
UpgradeDetails.Builder |
setStartType(UpgradeDetails.StartType value)
public UpgradeDetails.Builder setStartType(UpgradeDetails.StartType value)
The start type of the upgrade.
.google.container.v1.UpgradeDetails.StartType start_type = 6;
Parameter | |
---|---|
Name | Description |
value |
UpgradeDetails.StartType The startType to set. |
Returns | |
---|---|
Type | Description |
UpgradeDetails.Builder |
This builder for chaining. |
setStartTypeValue(int value)
public UpgradeDetails.Builder setStartTypeValue(int value)
The start type of the upgrade.
.google.container.v1.UpgradeDetails.StartType start_type = 6;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for startType to set. |
Returns | |
---|---|
Type | Description |
UpgradeDetails.Builder |
This builder for chaining. |
setState(UpgradeDetails.State value)
public UpgradeDetails.Builder setState(UpgradeDetails.State value)
Output only. The state of the upgrade.
.google.container.v1.UpgradeDetails.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
UpgradeDetails.State The state to set. |
Returns | |
---|---|
Type | Description |
UpgradeDetails.Builder |
This builder for chaining. |
setStateValue(int value)
public UpgradeDetails.Builder setStateValue(int value)
Output only. The state of the upgrade.
.google.container.v1.UpgradeDetails.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
UpgradeDetails.Builder |
This builder for chaining. |
setTargetVersion(String value)
public UpgradeDetails.Builder setTargetVersion(String value)
The version after the upgrade.
string target_version = 5;
Parameter | |
---|---|
Name | Description |
value |
String The targetVersion to set. |
Returns | |
---|---|
Type | Description |
UpgradeDetails.Builder |
This builder for chaining. |
setTargetVersionBytes(ByteString value)
public UpgradeDetails.Builder setTargetVersionBytes(ByteString value)
The version after the upgrade.
string target_version = 5;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for targetVersion to set. |
Returns | |
---|---|
Type | Description |
UpgradeDetails.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final UpgradeDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
UpgradeDetails.Builder |