public static final class SecurityPolicyReference.Builder extends GeneratedMessageV3.Builder<SecurityPolicyReference.Builder> implements SecurityPolicyReferenceOrBuilder
Protobuf type google.cloud.compute.v1.SecurityPolicyReference
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 SecurityPolicyReference.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SecurityPolicyReference build()
Returns
buildPartial()
public SecurityPolicyReference buildPartial()
Returns
clear()
public SecurityPolicyReference.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public SecurityPolicyReference.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SecurityPolicyReference.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSecurityPolicy()
public SecurityPolicyReference.Builder clearSecurityPolicy()
optional string security_policy = 171082513;
Returns
clone()
public SecurityPolicyReference.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public SecurityPolicyReference getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getSecurityPolicy()
public String getSecurityPolicy()
optional string security_policy = 171082513;
Returns
Type | Description |
String | The securityPolicy.
|
getSecurityPolicyBytes()
public ByteString getSecurityPolicyBytes()
optional string security_policy = 171082513;
Returns
Type | Description |
ByteString | The bytes for securityPolicy.
|
hasSecurityPolicy()
public boolean hasSecurityPolicy()
optional string security_policy = 171082513;
Returns
Type | Description |
boolean | Whether the securityPolicy field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(SecurityPolicyReference other)
public SecurityPolicyReference.Builder mergeFrom(SecurityPolicyReference other)
Parameter
Returns
public SecurityPolicyReference.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SecurityPolicyReference.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SecurityPolicyReference.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SecurityPolicyReference.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SecurityPolicyReference.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setSecurityPolicy(String value)
public SecurityPolicyReference.Builder setSecurityPolicy(String value)
optional string security_policy = 171082513;
Parameter
Name | Description |
value | String
The securityPolicy to set.
|
Returns
setSecurityPolicyBytes(ByteString value)
public SecurityPolicyReference.Builder setSecurityPolicyBytes(ByteString value)
optional string security_policy = 171082513;
Parameter
Name | Description |
value | ByteString
The bytes for securityPolicy to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final SecurityPolicyReference.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides