public static final class ProjectsEnableXpnResourceRequest.Builder extends GeneratedMessageV3.Builder<ProjectsEnableXpnResourceRequest.Builder> implements ProjectsEnableXpnResourceRequestOrBuilder
Protobuf type google.cloud.compute.v1.ProjectsEnableXpnResourceRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ProjectsEnableXpnResourceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ProjectsEnableXpnResourceRequest build()
buildPartial()
public ProjectsEnableXpnResourceRequest buildPartial()
clear()
public ProjectsEnableXpnResourceRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ProjectsEnableXpnResourceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ProjectsEnableXpnResourceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearXpnResource()
public ProjectsEnableXpnResourceRequest.Builder clearXpnResource()
Service resource (a.k.a service project) ID.
optional .google.cloud.compute.v1.XpnResourceId xpn_resource = 133384631;
clone()
public ProjectsEnableXpnResourceRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public ProjectsEnableXpnResourceRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getXpnResource()
public XpnResourceId getXpnResource()
Service resource (a.k.a service project) ID.
optional .google.cloud.compute.v1.XpnResourceId xpn_resource = 133384631;
getXpnResourceBuilder()
public XpnResourceId.Builder getXpnResourceBuilder()
Service resource (a.k.a service project) ID.
optional .google.cloud.compute.v1.XpnResourceId xpn_resource = 133384631;
getXpnResourceOrBuilder()
public XpnResourceIdOrBuilder getXpnResourceOrBuilder()
Service resource (a.k.a service project) ID.
optional .google.cloud.compute.v1.XpnResourceId xpn_resource = 133384631;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ProjectsEnableXpnResourceRequest other)
public ProjectsEnableXpnResourceRequest.Builder mergeFrom(ProjectsEnableXpnResourceRequest other)
public ProjectsEnableXpnResourceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ProjectsEnableXpnResourceRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ProjectsEnableXpnResourceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
setField(Descriptors.FieldDescriptor field, Object value)
public ProjectsEnableXpnResourceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ProjectsEnableXpnResourceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ProjectsEnableXpnResourceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
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;
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;