public static final class Parameter.Builder extends GeneratedMessage.Builder<Parameter.Builder> implements ParameterOrBuilderParameters are key-value pairs that let you provide your custom location requirements, environment requirements, or other settings that are relevant to the cloud control.
Protobuf type google.cloud.cloudsecuritycompliance.v1.Parameter
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Parameter.BuilderImplements
ParameterOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Parameter build()| Returns | |
|---|---|
| Type | Description |
Parameter |
|
buildPartial()
public Parameter buildPartial()| Returns | |
|---|---|
| Type | Description |
Parameter |
|
clear()
public Parameter.Builder clear()| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
clearName()
public Parameter.Builder clearName()Required. The name or key of the parameter.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
This builder for chaining. |
clearParameterValue()
public Parameter.Builder clearParameterValue()Required. The value of the parameter.
.google.cloud.cloudsecuritycompliance.v1.ParamValue parameter_value = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
getDefaultInstanceForType()
public Parameter getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Parameter |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Required. The name or key of the parameter.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. The name or key of the parameter.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getParameterValue()
public ParamValue getParameterValue()Required. The value of the parameter.
.google.cloud.cloudsecuritycompliance.v1.ParamValue parameter_value = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ParamValue |
The parameterValue. |
getParameterValueBuilder()
public ParamValue.Builder getParameterValueBuilder()Required. The value of the parameter.
.google.cloud.cloudsecuritycompliance.v1.ParamValue parameter_value = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ParamValue.Builder |
|
getParameterValueOrBuilder()
public ParamValueOrBuilder getParameterValueOrBuilder()Required. The value of the parameter.
.google.cloud.cloudsecuritycompliance.v1.ParamValue parameter_value = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ParamValueOrBuilder |
|
hasParameterValue()
public boolean hasParameterValue()Required. The value of the parameter.
.google.cloud.cloudsecuritycompliance.v1.ParamValue parameter_value = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the parameterValue field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Parameter other)
public Parameter.Builder mergeFrom(Parameter other)| Parameter | |
|---|---|
| Name | Description |
other |
Parameter |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Parameter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Parameter.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
mergeParameterValue(ParamValue value)
public Parameter.Builder mergeParameterValue(ParamValue value)Required. The value of the parameter.
.google.cloud.cloudsecuritycompliance.v1.ParamValue parameter_value = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ParamValue |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
setName(String value)
public Parameter.Builder setName(String value)Required. The name or key of the parameter.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Parameter.Builder setNameBytes(ByteString value)Required. The name or key of the parameter.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
This builder for chaining. |
setParameterValue(ParamValue value)
public Parameter.Builder setParameterValue(ParamValue value)Required. The value of the parameter.
.google.cloud.cloudsecuritycompliance.v1.ParamValue parameter_value = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ParamValue |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
setParameterValue(ParamValue.Builder builderForValue)
public Parameter.Builder setParameterValue(ParamValue.Builder builderForValue)Required. The value of the parameter.
.google.cloud.cloudsecuritycompliance.v1.ParamValue parameter_value = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ParamValue.Builder |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|