public static final class ProjectsEnableXpnResourceRequest.Builder extends GeneratedMessageV3.Builder<ProjectsEnableXpnResourceRequest.Builder> implements ProjectsEnableXpnResourceRequestOrBuilder
Protobuf type google.cloud.compute.v1.ProjectsEnableXpnResourceRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ProjectsEnableXpnResourceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ProjectsEnableXpnResourceRequest build()
Returns
buildPartial()
public ProjectsEnableXpnResourceRequest buildPartial()
Returns
clear()
public ProjectsEnableXpnResourceRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ProjectsEnableXpnResourceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ProjectsEnableXpnResourceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearXpnResource()
public ProjectsEnableXpnResourceRequest.Builder clearXpnResource()
Service resource (a.k.a service project) ID.
optional .google.cloud.compute.v1.XpnResourceId xpn_resource = 133384631;
Returns
clone()
public ProjectsEnableXpnResourceRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ProjectsEnableXpnResourceRequest 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(ProjectsEnableXpnResourceRequest other)
public ProjectsEnableXpnResourceRequest.Builder mergeFrom(ProjectsEnableXpnResourceRequest other)
Parameter
Returns
public ProjectsEnableXpnResourceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ProjectsEnableXpnResourceRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ProjectsEnableXpnResourceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeXpnResource(XpnResourceId value)
public ProjectsEnableXpnResourceRequest.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 ProjectsEnableXpnResourceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ProjectsEnableXpnResourceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ProjectsEnableXpnResourceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setXpnResource(XpnResourceId value)
public ProjectsEnableXpnResourceRequest.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 ProjectsEnableXpnResourceRequest.Builder setXpnResource(XpnResourceId.Builder builderForValue)
Service resource (a.k.a service project) ID.
optional .google.cloud.compute.v1.XpnResourceId xpn_resource = 133384631;
Parameter
Returns