Class SubnetworksSetPrivateIpGoogleAccessRequest.Builder (1.6.0-beta)

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

Protobuf type google.cloud.compute.v1.SubnetworksSetPrivateIpGoogleAccessRequest

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SubnetworksSetPrivateIpGoogleAccessRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SubnetworksSetPrivateIpGoogleAccessRequest.Builder
Overrides

build()

public SubnetworksSetPrivateIpGoogleAccessRequest build()
Returns
TypeDescription
SubnetworksSetPrivateIpGoogleAccessRequest

buildPartial()

public SubnetworksSetPrivateIpGoogleAccessRequest buildPartial()
Returns
TypeDescription
SubnetworksSetPrivateIpGoogleAccessRequest

clear()

public SubnetworksSetPrivateIpGoogleAccessRequest.Builder clear()
Returns
TypeDescription
SubnetworksSetPrivateIpGoogleAccessRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SubnetworksSetPrivateIpGoogleAccessRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SubnetworksSetPrivateIpGoogleAccessRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SubnetworksSetPrivateIpGoogleAccessRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SubnetworksSetPrivateIpGoogleAccessRequest.Builder
Overrides

clearPrivateIpGoogleAccess()

public SubnetworksSetPrivateIpGoogleAccessRequest.Builder clearPrivateIpGoogleAccess()

optional bool private_ip_google_access = 421491790;

Returns
TypeDescription
SubnetworksSetPrivateIpGoogleAccessRequest.Builder

This builder for chaining.

clone()

public SubnetworksSetPrivateIpGoogleAccessRequest.Builder clone()
Returns
TypeDescription
SubnetworksSetPrivateIpGoogleAccessRequest.Builder
Overrides

getDefaultInstanceForType()

public SubnetworksSetPrivateIpGoogleAccessRequest getDefaultInstanceForType()
Returns
TypeDescription
SubnetworksSetPrivateIpGoogleAccessRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPrivateIpGoogleAccess()

public boolean getPrivateIpGoogleAccess()

optional bool private_ip_google_access = 421491790;

Returns
TypeDescription
boolean

The privateIpGoogleAccess.

hasPrivateIpGoogleAccess()

public boolean hasPrivateIpGoogleAccess()

optional bool private_ip_google_access = 421491790;

Returns
TypeDescription
boolean

Whether the privateIpGoogleAccess field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SubnetworksSetPrivateIpGoogleAccessRequest other)

public SubnetworksSetPrivateIpGoogleAccessRequest.Builder mergeFrom(SubnetworksSetPrivateIpGoogleAccessRequest other)
Parameter
NameDescription
otherSubnetworksSetPrivateIpGoogleAccessRequest
Returns
TypeDescription
SubnetworksSetPrivateIpGoogleAccessRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SubnetworksSetPrivateIpGoogleAccessRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SubnetworksSetPrivateIpGoogleAccessRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SubnetworksSetPrivateIpGoogleAccessRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SubnetworksSetPrivateIpGoogleAccessRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SubnetworksSetPrivateIpGoogleAccessRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SubnetworksSetPrivateIpGoogleAccessRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SubnetworksSetPrivateIpGoogleAccessRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SubnetworksSetPrivateIpGoogleAccessRequest.Builder
Overrides

setPrivateIpGoogleAccess(boolean value)

public SubnetworksSetPrivateIpGoogleAccessRequest.Builder setPrivateIpGoogleAccess(boolean value)

optional bool private_ip_google_access = 421491790;

Parameter
NameDescription
valueboolean

The privateIpGoogleAccess to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SubnetworksSetPrivateIpGoogleAccessRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SubnetworksSetPrivateIpGoogleAccessRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SubnetworksSetPrivateIpGoogleAccessRequest.Builder
Overrides