Class ProjectsDisableXpnResourceRequest.Builder (1.58.0)

public static final class ProjectsDisableXpnResourceRequest.Builder extends GeneratedMessageV3.Builder<ProjectsDisableXpnResourceRequest.Builder> implements ProjectsDisableXpnResourceRequestOrBuilder

Protobuf type google.cloud.compute.v1.ProjectsDisableXpnResourceRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ProjectsDisableXpnResourceRequest build()
Returns
Type Description
ProjectsDisableXpnResourceRequest

buildPartial()

public ProjectsDisableXpnResourceRequest buildPartial()
Returns
Type Description
ProjectsDisableXpnResourceRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearXpnResource()

public ProjectsDisableXpnResourceRequest.Builder clearXpnResource()

Service resource (a.k.a service project) ID.

optional .google.cloud.compute.v1.XpnResourceId xpn_resource = 133384631;

Returns
Type Description
ProjectsDisableXpnResourceRequest.Builder

clone()

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

getDefaultInstanceForType()

public ProjectsDisableXpnResourceRequest getDefaultInstanceForType()
Returns
Type Description
ProjectsDisableXpnResourceRequest

getDescriptorForType()

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

getXpnResource()

public XpnResourceId getXpnResource()

Service resource (a.k.a service project) ID.

optional .google.cloud.compute.v1.XpnResourceId xpn_resource = 133384631;

Returns
Type Description
XpnResourceId

The xpnResource.

getXpnResourceBuilder()

public XpnResourceId.Builder getXpnResourceBuilder()

Service resource (a.k.a service project) ID.

optional .google.cloud.compute.v1.XpnResourceId xpn_resource = 133384631;

Returns
Type Description
XpnResourceId.Builder

getXpnResourceOrBuilder()

public XpnResourceIdOrBuilder getXpnResourceOrBuilder()

Service resource (a.k.a service project) ID.

optional .google.cloud.compute.v1.XpnResourceId xpn_resource = 133384631;

Returns
Type Description
XpnResourceIdOrBuilder

hasXpnResource()

public boolean hasXpnResource()

Service resource (a.k.a service project) ID.

optional .google.cloud.compute.v1.XpnResourceId xpn_resource = 133384631;

Returns
Type Description
boolean

Whether the xpnResource field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ProjectsDisableXpnResourceRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeXpnResource(XpnResourceId value)

public ProjectsDisableXpnResourceRequest.Builder mergeXpnResource(XpnResourceId value)

Service resource (a.k.a service project) ID.

optional .google.cloud.compute.v1.XpnResourceId xpn_resource = 133384631;

Parameter
Name Description
value XpnResourceId
Returns
Type Description
ProjectsDisableXpnResourceRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setXpnResource(XpnResourceId value)

public ProjectsDisableXpnResourceRequest.Builder setXpnResource(XpnResourceId value)

Service resource (a.k.a service project) ID.

optional .google.cloud.compute.v1.XpnResourceId xpn_resource = 133384631;

Parameter
Name Description
value XpnResourceId
Returns
Type Description
ProjectsDisableXpnResourceRequest.Builder

setXpnResource(XpnResourceId.Builder builderForValue)

public ProjectsDisableXpnResourceRequest.Builder setXpnResource(XpnResourceId.Builder builderForValue)

Service resource (a.k.a service project) ID.

optional .google.cloud.compute.v1.XpnResourceId xpn_resource = 133384631;

Parameter
Name Description
builderForValue XpnResourceId.Builder
Returns
Type Description
ProjectsDisableXpnResourceRequest.Builder