Class SubnetworksSetPrivateIpGoogleAccessRequest.Builder (1.65.0)

public static final class SubnetworksSetPrivateIpGoogleAccessRequest.Builder extends GeneratedMessageV3.Builder<SubnetworksSetPrivateIpGoogleAccessRequest.Builder> implements SubnetworksSetPrivateIpGoogleAccessRequestOrBuilder

Protobuf type google.cloud.compute.v1.SubnetworksSetPrivateIpGoogleAccessRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SubnetworksSetPrivateIpGoogleAccessRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SubnetworksSetPrivateIpGoogleAccessRequest.Builder
Overrides

build()

public SubnetworksSetPrivateIpGoogleAccessRequest build()
Returns
Type Description
SubnetworksSetPrivateIpGoogleAccessRequest

buildPartial()

public SubnetworksSetPrivateIpGoogleAccessRequest buildPartial()
Returns
Type Description
SubnetworksSetPrivateIpGoogleAccessRequest

clear()

public SubnetworksSetPrivateIpGoogleAccessRequest.Builder clear()
Returns
Type Description
SubnetworksSetPrivateIpGoogleAccessRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SubnetworksSetPrivateIpGoogleAccessRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SubnetworksSetPrivateIpGoogleAccessRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SubnetworksSetPrivateIpGoogleAccessRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SubnetworksSetPrivateIpGoogleAccessRequest.Builder
Overrides

clearPrivateIpGoogleAccess()

public SubnetworksSetPrivateIpGoogleAccessRequest.Builder clearPrivateIpGoogleAccess()

optional bool private_ip_google_access = 421491790;

Returns
Type Description
SubnetworksSetPrivateIpGoogleAccessRequest.Builder

This builder for chaining.

clone()

public SubnetworksSetPrivateIpGoogleAccessRequest.Builder clone()
Returns
Type Description
SubnetworksSetPrivateIpGoogleAccessRequest.Builder
Overrides

getDefaultInstanceForType()

public SubnetworksSetPrivateIpGoogleAccessRequest getDefaultInstanceForType()
Returns
Type Description
SubnetworksSetPrivateIpGoogleAccessRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPrivateIpGoogleAccess()

public boolean getPrivateIpGoogleAccess()

optional bool private_ip_google_access = 421491790;

Returns
Type Description
boolean

The privateIpGoogleAccess.

hasPrivateIpGoogleAccess()

public boolean hasPrivateIpGoogleAccess()

optional bool private_ip_google_access = 421491790;

Returns
Type Description
boolean

Whether the privateIpGoogleAccess field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SubnetworksSetPrivateIpGoogleAccessRequest other)

public SubnetworksSetPrivateIpGoogleAccessRequest.Builder mergeFrom(SubnetworksSetPrivateIpGoogleAccessRequest other)
Parameter
Name Description
other SubnetworksSetPrivateIpGoogleAccessRequest
Returns
Type Description
SubnetworksSetPrivateIpGoogleAccessRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SubnetworksSetPrivateIpGoogleAccessRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SubnetworksSetPrivateIpGoogleAccessRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SubnetworksSetPrivateIpGoogleAccessRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SubnetworksSetPrivateIpGoogleAccessRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SubnetworksSetPrivateIpGoogleAccessRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SubnetworksSetPrivateIpGoogleAccessRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SubnetworksSetPrivateIpGoogleAccessRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SubnetworksSetPrivateIpGoogleAccessRequest.Builder
Overrides

setPrivateIpGoogleAccess(boolean value)

public SubnetworksSetPrivateIpGoogleAccessRequest.Builder setPrivateIpGoogleAccess(boolean value)

optional bool private_ip_google_access = 421491790;

Parameter
Name Description
value boolean

The privateIpGoogleAccess to set.

Returns
Type Description
SubnetworksSetPrivateIpGoogleAccessRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SubnetworksSetPrivateIpGoogleAccessRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SubnetworksSetPrivateIpGoogleAccessRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SubnetworksSetPrivateIpGoogleAccessRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SubnetworksSetPrivateIpGoogleAccessRequest.Builder
Overrides