public static final class OperatorState.Builder extends GeneratedMessageV3.Builder<OperatorState.Builder> implements OperatorStateOrBuilder
State information for an ACM's Operator
Protobuf type google.cloud.gkehub.configmanagement.v1.OperatorState
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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
addAllErrors(Iterable<? extends InstallError> values)
public OperatorState.Builder addAllErrors(Iterable<? extends InstallError> values)
Install errors.
repeated .google.cloud.gkehub.configmanagement.v1.InstallError errors = 3;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.gkehub.configmanagement.v1.InstallError>
|
addErrors(InstallError value)
public OperatorState.Builder addErrors(InstallError value)
Install errors.
repeated .google.cloud.gkehub.configmanagement.v1.InstallError errors = 3;
addErrors(InstallError.Builder builderForValue)
public OperatorState.Builder addErrors(InstallError.Builder builderForValue)
Install errors.
repeated .google.cloud.gkehub.configmanagement.v1.InstallError errors = 3;
addErrors(int index, InstallError value)
public OperatorState.Builder addErrors(int index, InstallError value)
Install errors.
repeated .google.cloud.gkehub.configmanagement.v1.InstallError errors = 3;
addErrors(int index, InstallError.Builder builderForValue)
public OperatorState.Builder addErrors(int index, InstallError.Builder builderForValue)
Install errors.
repeated .google.cloud.gkehub.configmanagement.v1.InstallError errors = 3;
addErrorsBuilder()
public InstallError.Builder addErrorsBuilder()
Install errors.
repeated .google.cloud.gkehub.configmanagement.v1.InstallError errors = 3;
addErrorsBuilder(int index)
public InstallError.Builder addErrorsBuilder(int index)
Install errors.
repeated .google.cloud.gkehub.configmanagement.v1.InstallError errors = 3;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OperatorState.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public OperatorState build()
buildPartial()
public OperatorState buildPartial()
clear()
public OperatorState.Builder clear()
Overrides
clearDeploymentState()
public OperatorState.Builder clearDeploymentState()
The state of the Operator's deployment
.google.cloud.gkehub.configmanagement.v1.DeploymentState deployment_state = 2;
clearErrors()
public OperatorState.Builder clearErrors()
Install errors.
repeated .google.cloud.gkehub.configmanagement.v1.InstallError errors = 3;
clearField(Descriptors.FieldDescriptor field)
public OperatorState.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public OperatorState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearVersion()
public OperatorState.Builder clearVersion()
The semenatic version number of the operator
string version = 1;
clone()
public OperatorState.Builder clone()
Overrides
getDefaultInstanceForType()
public OperatorState getDefaultInstanceForType()
getDeploymentState()
public DeploymentState getDeploymentState()
The state of the Operator's deployment
.google.cloud.gkehub.configmanagement.v1.DeploymentState deployment_state = 2;
getDeploymentStateValue()
public int getDeploymentStateValue()
The state of the Operator's deployment
.google.cloud.gkehub.configmanagement.v1.DeploymentState deployment_state = 2;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for deploymentState.
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getErrors(int index)
public InstallError getErrors(int index)
Install errors.
repeated .google.cloud.gkehub.configmanagement.v1.InstallError errors = 3;
Parameter |
---|
Name | Description |
index | int
|
getErrorsBuilder(int index)
public InstallError.Builder getErrorsBuilder(int index)
Install errors.
repeated .google.cloud.gkehub.configmanagement.v1.InstallError errors = 3;
Parameter |
---|
Name | Description |
index | int
|
getErrorsBuilderList()
public List<InstallError.Builder> getErrorsBuilderList()
Install errors.
repeated .google.cloud.gkehub.configmanagement.v1.InstallError errors = 3;
getErrorsCount()
public int getErrorsCount()
Install errors.
repeated .google.cloud.gkehub.configmanagement.v1.InstallError errors = 3;
Returns |
---|
Type | Description |
int | |
getErrorsList()
public List<InstallError> getErrorsList()
Install errors.
repeated .google.cloud.gkehub.configmanagement.v1.InstallError errors = 3;
getErrorsOrBuilder(int index)
public InstallErrorOrBuilder getErrorsOrBuilder(int index)
Install errors.
repeated .google.cloud.gkehub.configmanagement.v1.InstallError errors = 3;
Parameter |
---|
Name | Description |
index | int
|
getErrorsOrBuilderList()
public List<? extends InstallErrorOrBuilder> getErrorsOrBuilderList()
Install errors.
repeated .google.cloud.gkehub.configmanagement.v1.InstallError errors = 3;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.gkehub.configmanagement.v1.InstallErrorOrBuilder> | |
getVersion()
public String getVersion()
The semenatic version number of the operator
string version = 1;
Returns |
---|
Type | Description |
String | The version.
|
getVersionBytes()
public ByteString getVersionBytes()
The semenatic version number of the operator
string version = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for version.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(OperatorState other)
public OperatorState.Builder mergeFrom(OperatorState other)
public OperatorState.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public OperatorState.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OperatorState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeErrors(int index)
public OperatorState.Builder removeErrors(int index)
Install errors.
repeated .google.cloud.gkehub.configmanagement.v1.InstallError errors = 3;
Parameter |
---|
Name | Description |
index | int
|
setDeploymentState(DeploymentState value)
public OperatorState.Builder setDeploymentState(DeploymentState value)
The state of the Operator's deployment
.google.cloud.gkehub.configmanagement.v1.DeploymentState deployment_state = 2;
setDeploymentStateValue(int value)
public OperatorState.Builder setDeploymentStateValue(int value)
The state of the Operator's deployment
.google.cloud.gkehub.configmanagement.v1.DeploymentState deployment_state = 2;
Parameter |
---|
Name | Description |
value | int
The enum numeric value on the wire for deploymentState to set.
|
setErrors(int index, InstallError value)
public OperatorState.Builder setErrors(int index, InstallError value)
Install errors.
repeated .google.cloud.gkehub.configmanagement.v1.InstallError errors = 3;
setErrors(int index, InstallError.Builder builderForValue)
public OperatorState.Builder setErrors(int index, InstallError.Builder builderForValue)
Install errors.
repeated .google.cloud.gkehub.configmanagement.v1.InstallError errors = 3;
setField(Descriptors.FieldDescriptor field, Object value)
public OperatorState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OperatorState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final OperatorState.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setVersion(String value)
public OperatorState.Builder setVersion(String value)
The semenatic version number of the operator
string version = 1;
Parameter |
---|
Name | Description |
value | String
The version to set.
|
setVersionBytes(ByteString value)
public OperatorState.Builder setVersionBytes(ByteString value)
The semenatic version number of the operator
string version = 1;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for version to set.
|