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
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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>
|
Returns
addErrors(InstallError value)
public OperatorState.Builder addErrors(InstallError value)
Install errors.
repeated .google.cloud.gkehub.configmanagement.v1.InstallError errors = 3;
Parameter
Returns
addErrors(InstallError.Builder builderForValue)
public OperatorState.Builder addErrors(InstallError.Builder builderForValue)
Install errors.
repeated .google.cloud.gkehub.configmanagement.v1.InstallError errors = 3;
Parameter
Returns
addErrors(int index, InstallError value)
public OperatorState.Builder addErrors(int index, InstallError value)
Install errors.
repeated .google.cloud.gkehub.configmanagement.v1.InstallError errors = 3;
Parameters
Returns
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;
Parameters
Returns
addErrorsBuilder()
public InstallError.Builder addErrorsBuilder()
Install errors.
repeated .google.cloud.gkehub.configmanagement.v1.InstallError errors = 3;
Returns
addErrorsBuilder(int index)
public InstallError.Builder addErrorsBuilder(int index)
Install errors.
repeated .google.cloud.gkehub.configmanagement.v1.InstallError errors = 3;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OperatorState.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public OperatorState build()
Returns
buildPartial()
public OperatorState buildPartial()
Returns
clear()
public OperatorState.Builder clear()
Returns
Overrides
clearDeploymentState()
public OperatorState.Builder clearDeploymentState()
The state of the Operator's deployment
.google.cloud.gkehub.configmanagement.v1.DeploymentState deployment_state = 2;
Returns
clearErrors()
public OperatorState.Builder clearErrors()
Install errors.
repeated .google.cloud.gkehub.configmanagement.v1.InstallError errors = 3;
Returns
clearField(Descriptors.FieldDescriptor field)
public OperatorState.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public OperatorState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearVersion()
public OperatorState.Builder clearVersion()
The semenatic version number of the operator
string version = 1;
Returns
clone()
public OperatorState.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public OperatorState getDefaultInstanceForType()
Returns
getDeploymentState()
public DeploymentState getDeploymentState()
The state of the Operator's deployment
.google.cloud.gkehub.configmanagement.v1.DeploymentState deployment_state = 2;
Returns
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()
Returns
Overrides
getErrors(int index)
public InstallError getErrors(int index)
Install errors.
repeated .google.cloud.gkehub.configmanagement.v1.InstallError errors = 3;
Parameter
Returns
getErrorsBuilder(int index)
public InstallError.Builder getErrorsBuilder(int index)
Install errors.
repeated .google.cloud.gkehub.configmanagement.v1.InstallError errors = 3;
Parameter
Returns
getErrorsBuilderList()
public List<InstallError.Builder> getErrorsBuilderList()
Install errors.
repeated .google.cloud.gkehub.configmanagement.v1.InstallError errors = 3;
Returns
getErrorsCount()
public int getErrorsCount()
Install errors.
repeated .google.cloud.gkehub.configmanagement.v1.InstallError errors = 3;
Returns
getErrorsList()
public List<InstallError> getErrorsList()
Install errors.
repeated .google.cloud.gkehub.configmanagement.v1.InstallError errors = 3;
Returns
getErrorsOrBuilder(int index)
public InstallErrorOrBuilder getErrorsOrBuilder(int index)
Install errors.
repeated .google.cloud.gkehub.configmanagement.v1.InstallError errors = 3;
Parameter
Returns
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(OperatorState other)
public OperatorState.Builder mergeFrom(OperatorState other)
Parameter
Returns
public OperatorState.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public OperatorState.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OperatorState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeErrors(int index)
public OperatorState.Builder removeErrors(int index)
Install errors.
repeated .google.cloud.gkehub.configmanagement.v1.InstallError errors = 3;
Parameter
Returns
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;
Parameter
Returns
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.
|
Returns
setErrors(int index, InstallError value)
public OperatorState.Builder setErrors(int index, InstallError value)
Install errors.
repeated .google.cloud.gkehub.configmanagement.v1.InstallError errors = 3;
Parameters
Returns
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;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public OperatorState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OperatorState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final OperatorState.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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.
|
Returns
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.
|
Returns