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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SecurityPolicyReference.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SecurityPolicyReference build()
buildPartial()
public SecurityPolicyReference buildPartial()
clear()
public SecurityPolicyReference.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SecurityPolicyReference.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SecurityPolicyReference.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSecurityPolicy()
public SecurityPolicyReference.Builder clearSecurityPolicy()
optional string security_policy = 171082513;
clone()
public SecurityPolicyReference.Builder clone()
Overrides
getDefaultInstanceForType()
public SecurityPolicyReference getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SecurityPolicyReference other)
public SecurityPolicyReference.Builder mergeFrom(SecurityPolicyReference other)
public SecurityPolicyReference.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SecurityPolicyReference.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SecurityPolicyReference.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SecurityPolicyReference.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SecurityPolicyReference.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSecurityPolicy(String value)
public SecurityPolicyReference.Builder setSecurityPolicy(String value)
optional string security_policy = 171082513;
Parameter |
Name |
Description |
value |
String
The securityPolicy to set.
|
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final SecurityPolicyReference.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides