Class ProjectsSetDefaultNetworkTierRequest (1.59.0)

public final class ProjectsSetDefaultNetworkTierRequest extends GeneratedMessageV3 implements ProjectsSetDefaultNetworkTierRequestOrBuilder

Protobuf type google.cloud.compute.v1.ProjectsSetDefaultNetworkTierRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ProjectsSetDefaultNetworkTierRequest

Static Fields

NETWORK_TIER_FIELD_NUMBER

public static final int NETWORK_TIER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ProjectsSetDefaultNetworkTierRequest getDefaultInstance()
Returns
Type Description
ProjectsSetDefaultNetworkTierRequest

getDescriptor()

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

newBuilder()

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

newBuilder(ProjectsSetDefaultNetworkTierRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ProjectsSetDefaultNetworkTierRequest getDefaultInstanceForType()
Returns
Type Description
ProjectsSetDefaultNetworkTierRequest

getNetworkTier()

public String getNetworkTier()

Default network tier to be set. Check the NetworkTier enum for the list of possible values.

optional string network_tier = 517397843;

Returns
Type Description
String

The networkTier.

getNetworkTierBytes()

public ByteString getNetworkTierBytes()

Default network tier to be set. Check the NetworkTier enum for the list of possible values.

optional string network_tier = 517397843;

Returns
Type Description
ByteString

The bytes for networkTier.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasNetworkTier()

public boolean hasNetworkTier()

Default network tier to be set. Check the NetworkTier enum for the list of possible values.

optional string network_tier = 517397843;

Returns
Type Description
boolean

Whether the networkTier field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ProjectsSetDefaultNetworkTierRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ProjectsSetDefaultNetworkTierRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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