Class GetProjectViewRequest (1.109.0)

public final class GetProjectViewRequest extends GeneratedMessage implements GetProjectViewRequestOrBuilder

A request message for ProjectViews.Get. See the method description for details.

Protobuf type google.cloud.compute.v1.GetProjectViewRequest

Static Fields

PROJECT_FIELD_NUMBER

public static final int PROJECT_FIELD_NUMBER
Field Value
Type Description
int

REGION_FIELD_NUMBER

public static final int REGION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GetProjectViewRequest getDefaultInstance()
Returns
Type Description
GetProjectViewRequest

getDescriptor()

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

newBuilder()

public static GetProjectViewRequest.Builder newBuilder()
Returns
Type Description
GetProjectViewRequest.Builder

newBuilder(GetProjectViewRequest prototype)

public static GetProjectViewRequest.Builder newBuilder(GetProjectViewRequest prototype)
Parameter
Name Description
prototype GetProjectViewRequest
Returns
Type Description
GetProjectViewRequest.Builder

parseDelimitedFrom(InputStream input)

public static GetProjectViewRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GetProjectViewRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GetProjectViewRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetProjectViewRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GetProjectViewRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GetProjectViewRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GetProjectViewRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetProjectViewRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GetProjectViewRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GetProjectViewRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GetProjectViewRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetProjectViewRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GetProjectViewRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GetProjectViewRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GetProjectViewRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetProjectViewRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GetProjectViewRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GetProjectViewRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GetProjectViewRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetProjectViewRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GetProjectViewRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GetProjectViewRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GetProjectViewRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetProjectViewRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GetProjectViewRequest> parser()
Returns
Type Description
Parser<GetProjectViewRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public GetProjectViewRequest getDefaultInstanceForType()
Returns
Type Description
GetProjectViewRequest

getParserForType()

public Parser<GetProjectViewRequest> getParserForType()
Returns
Type Description
Parser<GetProjectViewRequest>
Overrides

getProject()

public String getProject()

Required. Project ID for this request. This is part of the URL path.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Required. Project ID for this request. This is part of the URL path.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for project.

getRegion()

public String getRegion()

Required. Name of the region for this request. This is part of the URL path.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The region.

getRegionBytes()

public ByteString getRegionBytes()

Required. Name of the region for this request. This is part of the URL path.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for region.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GetProjectViewRequest.Builder newBuilderForType()
Returns
Type Description
GetProjectViewRequest.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected GetProjectViewRequest.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GetProjectViewRequest.Builder
Overrides

toBuilder()

public GetProjectViewRequest.Builder toBuilder()
Returns
Type Description
GetProjectViewRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException