public static final class BinauthzState.Builder extends GeneratedMessageV3.Builder<BinauthzState.Builder> implements BinauthzStateOrBuilder
State for Binauthz
Protobuf type google.cloud.gkehub.configmanagement.v1beta.BinauthzState
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BinauthzState.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public BinauthzState build()
Returns
buildPartial()
public BinauthzState buildPartial()
Returns
clear()
public BinauthzState.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public BinauthzState.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BinauthzState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearVersion()
public BinauthzState.Builder clearVersion()
The version of binauthz that is installed.
.google.cloud.gkehub.configmanagement.v1beta.BinauthzVersion version = 2;
Returns
clearWebhook()
public BinauthzState.Builder clearWebhook()
The state of the binauthz webhook.
.google.cloud.gkehub.configmanagement.v1beta.DeploymentState webhook = 1;
Returns
clone()
public BinauthzState.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public BinauthzState getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getVersion()
public BinauthzVersion getVersion()
The version of binauthz that is installed.
.google.cloud.gkehub.configmanagement.v1beta.BinauthzVersion version = 2;
Returns
getVersionBuilder()
public BinauthzVersion.Builder getVersionBuilder()
The version of binauthz that is installed.
.google.cloud.gkehub.configmanagement.v1beta.BinauthzVersion version = 2;
Returns
getVersionOrBuilder()
public BinauthzVersionOrBuilder getVersionOrBuilder()
The version of binauthz that is installed.
.google.cloud.gkehub.configmanagement.v1beta.BinauthzVersion version = 2;
Returns
getWebhook()
public DeploymentState getWebhook()
The state of the binauthz webhook.
.google.cloud.gkehub.configmanagement.v1beta.DeploymentState webhook = 1;
Returns
getWebhookValue()
public int getWebhookValue()
The state of the binauthz webhook.
.google.cloud.gkehub.configmanagement.v1beta.DeploymentState webhook = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for webhook.
|
hasVersion()
public boolean hasVersion()
The version of binauthz that is installed.
.google.cloud.gkehub.configmanagement.v1beta.BinauthzVersion version = 2;
Returns
Type | Description |
boolean | Whether the version field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(BinauthzState other)
public BinauthzState.Builder mergeFrom(BinauthzState other)
Parameter
Returns
public BinauthzState.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public BinauthzState.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BinauthzState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeVersion(BinauthzVersion value)
public BinauthzState.Builder mergeVersion(BinauthzVersion value)
The version of binauthz that is installed.
.google.cloud.gkehub.configmanagement.v1beta.BinauthzVersion version = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public BinauthzState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BinauthzState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BinauthzState.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setVersion(BinauthzVersion value)
public BinauthzState.Builder setVersion(BinauthzVersion value)
The version of binauthz that is installed.
.google.cloud.gkehub.configmanagement.v1beta.BinauthzVersion version = 2;
Parameter
Returns
setVersion(BinauthzVersion.Builder builderForValue)
public BinauthzState.Builder setVersion(BinauthzVersion.Builder builderForValue)
The version of binauthz that is installed.
.google.cloud.gkehub.configmanagement.v1beta.BinauthzVersion version = 2;
Parameter
Returns
setWebhook(DeploymentState value)
public BinauthzState.Builder setWebhook(DeploymentState value)
The state of the binauthz webhook.
.google.cloud.gkehub.configmanagement.v1beta.DeploymentState webhook = 1;
Parameter
Returns
setWebhookValue(int value)
public BinauthzState.Builder setWebhookValue(int value)
The state of the binauthz webhook.
.google.cloud.gkehub.configmanagement.v1beta.DeploymentState webhook = 1;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for webhook to set.
|
Returns