Class ProjectsListXpnHostsRequest.Builder (1.59.0)

public static final class ProjectsListXpnHostsRequest.Builder extends GeneratedMessageV3.Builder<ProjectsListXpnHostsRequest.Builder> implements ProjectsListXpnHostsRequestOrBuilder

Protobuf type google.cloud.compute.v1.ProjectsListXpnHostsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ProjectsListXpnHostsRequest build()
Returns
Type Description
ProjectsListXpnHostsRequest

buildPartial()

public ProjectsListXpnHostsRequest buildPartial()
Returns
Type Description
ProjectsListXpnHostsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOrganization()

public ProjectsListXpnHostsRequest.Builder clearOrganization()

Optional organization ID managed by Cloud Resource Manager, for which to list shared VPC host projects. If not specified, the organization will be inferred from the project.

optional string organization = 105180467;

Returns
Type Description
ProjectsListXpnHostsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ProjectsListXpnHostsRequest getDefaultInstanceForType()
Returns
Type Description
ProjectsListXpnHostsRequest

getDescriptorForType()

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

getOrganization()

public String getOrganization()

Optional organization ID managed by Cloud Resource Manager, for which to list shared VPC host projects. If not specified, the organization will be inferred from the project.

optional string organization = 105180467;

Returns
Type Description
String

The organization.

getOrganizationBytes()

public ByteString getOrganizationBytes()

Optional organization ID managed by Cloud Resource Manager, for which to list shared VPC host projects. If not specified, the organization will be inferred from the project.

optional string organization = 105180467;

Returns
Type Description
ByteString

The bytes for organization.

hasOrganization()

public boolean hasOrganization()

Optional organization ID managed by Cloud Resource Manager, for which to list shared VPC host projects. If not specified, the organization will be inferred from the project.

optional string organization = 105180467;

Returns
Type Description
boolean

Whether the organization field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ProjectsListXpnHostsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setOrganization(String value)

public ProjectsListXpnHostsRequest.Builder setOrganization(String value)

Optional organization ID managed by Cloud Resource Manager, for which to list shared VPC host projects. If not specified, the organization will be inferred from the project.

optional string organization = 105180467;

Parameter
Name Description
value String

The organization to set.

Returns
Type Description
ProjectsListXpnHostsRequest.Builder

This builder for chaining.

setOrganizationBytes(ByteString value)

public ProjectsListXpnHostsRequest.Builder setOrganizationBytes(ByteString value)

Optional organization ID managed by Cloud Resource Manager, for which to list shared VPC host projects. If not specified, the organization will be inferred from the project.

optional string organization = 105180467;

Parameter
Name Description
value ByteString

The bytes for organization to set.

Returns
Type Description
ProjectsListXpnHostsRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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