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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ProjectsListXpnHostsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ProjectsListXpnHostsRequest build()
Returns
buildPartial()
public ProjectsListXpnHostsRequest buildPartial()
Returns
clear()
public ProjectsListXpnHostsRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ProjectsListXpnHostsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ProjectsListXpnHostsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public ProjectsListXpnHostsRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ProjectsListXpnHostsRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ProjectsListXpnHostsRequest other)
public ProjectsListXpnHostsRequest.Builder mergeFrom(ProjectsListXpnHostsRequest other)
Parameter
Returns
public ProjectsListXpnHostsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ProjectsListXpnHostsRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ProjectsListXpnHostsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ProjectsListXpnHostsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ProjectsListXpnHostsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ProjectsListXpnHostsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides