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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ProjectsDisableXpnResourceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ProjectsDisableXpnResourceRequest build()
Returns
buildPartial()
public ProjectsDisableXpnResourceRequest buildPartial()
Returns
clear()
public ProjectsDisableXpnResourceRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ProjectsDisableXpnResourceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ProjectsDisableXpnResourceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearXpnResource()
public ProjectsDisableXpnResourceRequest.Builder clearXpnResource()
Service resource (a.k.a service project) ID.
optional .google.cloud.compute.v1.XpnResourceId xpn_resource = 133384631;
Returns
clone()
public ProjectsDisableXpnResourceRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ProjectsDisableXpnResourceRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getXpnResource()
public XpnResourceId getXpnResource()
Service resource (a.k.a service project) ID.
optional .google.cloud.compute.v1.XpnResourceId xpn_resource = 133384631;
Returns
getXpnResourceBuilder()
public XpnResourceId.Builder getXpnResourceBuilder()
Service resource (a.k.a service project) ID.
optional .google.cloud.compute.v1.XpnResourceId xpn_resource = 133384631;
Returns
getXpnResourceOrBuilder()
public XpnResourceIdOrBuilder getXpnResourceOrBuilder()
Service resource (a.k.a service project) ID.
optional .google.cloud.compute.v1.XpnResourceId xpn_resource = 133384631;
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ProjectsDisableXpnResourceRequest other)
public ProjectsDisableXpnResourceRequest.Builder mergeFrom(ProjectsDisableXpnResourceRequest other)
Parameter
Returns
public ProjectsDisableXpnResourceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ProjectsDisableXpnResourceRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ProjectsDisableXpnResourceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ProjectsDisableXpnResourceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ProjectsDisableXpnResourceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ProjectsDisableXpnResourceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns