Class ProjectsListXpnHostsRequest.Builder (1.8.1)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ProjectsListXpnHostsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ProjectsListXpnHostsRequest.Builder
Overrides

build()

public ProjectsListXpnHostsRequest build()
Returns
TypeDescription
ProjectsListXpnHostsRequest

buildPartial()

public ProjectsListXpnHostsRequest buildPartial()
Returns
TypeDescription
ProjectsListXpnHostsRequest

clear()

public ProjectsListXpnHostsRequest.Builder clear()
Returns
TypeDescription
ProjectsListXpnHostsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ProjectsListXpnHostsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ProjectsListXpnHostsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ProjectsListXpnHostsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ProjectsListXpnHostsRequest.Builder

This builder for chaining.

clone()

public ProjectsListXpnHostsRequest.Builder clone()
Returns
TypeDescription
ProjectsListXpnHostsRequest.Builder
Overrides

getDefaultInstanceForType()

public ProjectsListXpnHostsRequest getDefaultInstanceForType()
Returns
TypeDescription
ProjectsListXpnHostsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the organization field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ProjectsListXpnHostsRequest other)

public ProjectsListXpnHostsRequest.Builder mergeFrom(ProjectsListXpnHostsRequest other)
Parameter
NameDescription
otherProjectsListXpnHostsRequest
Returns
TypeDescription
ProjectsListXpnHostsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ProjectsListXpnHostsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProjectsListXpnHostsRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ProjectsListXpnHostsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ProjectsListXpnHostsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ProjectsListXpnHostsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ProjectsListXpnHostsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ProjectsListXpnHostsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The organization to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for organization to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ProjectsListXpnHostsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ProjectsListXpnHostsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ProjectsListXpnHostsRequest.Builder
Overrides