public static final class EnvironmentVariable.Builder extends GeneratedMessageV3.Builder<EnvironmentVariable.Builder> implements EnvironmentVariableOrBuilder
EnvironmentVariable is a name-value pair to store environment variables for
Process.
Protobuf type google.cloud.securitycenter.v1.EnvironmentVariable
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EnvironmentVariable.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public EnvironmentVariable build()
Returns
buildPartial()
public EnvironmentVariable buildPartial()
Returns
clear()
public EnvironmentVariable.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public EnvironmentVariable.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearName()
public EnvironmentVariable.Builder clearName()
Environment variable name as a JSON encoded string.
string name = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public EnvironmentVariable.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearVal()
public EnvironmentVariable.Builder clearVal()
Environment variable value as a JSON encoded string.
string val = 2;
Returns
clone()
public EnvironmentVariable.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public EnvironmentVariable getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getName()
Environment variable name as a JSON encoded string.
string name = 1;
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Environment variable name as a JSON encoded string.
string name = 1;
Returns
getVal()
Environment variable value as a JSON encoded string.
string val = 2;
Returns
getValBytes()
public ByteString getValBytes()
Environment variable value as a JSON encoded string.
string val = 2;
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(EnvironmentVariable other)
public EnvironmentVariable.Builder mergeFrom(EnvironmentVariable other)
Parameter
Returns
public EnvironmentVariable.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public EnvironmentVariable.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EnvironmentVariable.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public EnvironmentVariable.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setName(String value)
public EnvironmentVariable.Builder setName(String value)
Environment variable name as a JSON encoded string.
string name = 1;
Parameter
Name | Description |
value | String
The name to set.
|
Returns
setNameBytes(ByteString value)
public EnvironmentVariable.Builder setNameBytes(ByteString value)
Environment variable name as a JSON encoded string.
string name = 1;
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EnvironmentVariable.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final EnvironmentVariable.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setVal(String value)
public EnvironmentVariable.Builder setVal(String value)
Environment variable value as a JSON encoded string.
string val = 2;
Parameter
Name | Description |
value | String
The val to set.
|
Returns
setValBytes(ByteString value)
public EnvironmentVariable.Builder setValBytes(ByteString value)
Environment variable value as a JSON encoded string.
string val = 2;
Parameter
Name | Description |
value | ByteString
The bytes for val to set.
|
Returns