Class ProjectsSetDefaultNetworkTierRequest (1.31.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static ProjectsSetDefaultNetworkTierRequest getDefaultInstance()
Returns
TypeDescription
ProjectsSetDefaultNetworkTierRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ProjectsSetDefaultNetworkTierRequest.Builder newBuilder()
Returns
TypeDescription
ProjectsSetDefaultNetworkTierRequest.Builder

newBuilder(ProjectsSetDefaultNetworkTierRequest prototype)

public static ProjectsSetDefaultNetworkTierRequest.Builder newBuilder(ProjectsSetDefaultNetworkTierRequest prototype)
Parameter
NameDescription
prototypeProjectsSetDefaultNetworkTierRequest
Returns
TypeDescription
ProjectsSetDefaultNetworkTierRequest.Builder

parseDelimitedFrom(InputStream input)

public static ProjectsSetDefaultNetworkTierRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ProjectsSetDefaultNetworkTierRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProjectsSetDefaultNetworkTierRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProjectsSetDefaultNetworkTierRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ProjectsSetDefaultNetworkTierRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ProjectsSetDefaultNetworkTierRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ProjectsSetDefaultNetworkTierRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProjectsSetDefaultNetworkTierRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ProjectsSetDefaultNetworkTierRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ProjectsSetDefaultNetworkTierRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ProjectsSetDefaultNetworkTierRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProjectsSetDefaultNetworkTierRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ProjectsSetDefaultNetworkTierRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ProjectsSetDefaultNetworkTierRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ProjectsSetDefaultNetworkTierRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProjectsSetDefaultNetworkTierRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ProjectsSetDefaultNetworkTierRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ProjectsSetDefaultNetworkTierRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProjectsSetDefaultNetworkTierRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProjectsSetDefaultNetworkTierRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ProjectsSetDefaultNetworkTierRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ProjectsSetDefaultNetworkTierRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ProjectsSetDefaultNetworkTierRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProjectsSetDefaultNetworkTierRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ProjectsSetDefaultNetworkTierRequest> parser()
Returns
TypeDescription
Parser<ProjectsSetDefaultNetworkTierRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ProjectsSetDefaultNetworkTierRequest getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for networkTier.

getParserForType()

public Parser<ProjectsSetDefaultNetworkTierRequest> getParserForType()
Returns
TypeDescription
Parser<ProjectsSetDefaultNetworkTierRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the networkTier field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ProjectsSetDefaultNetworkTierRequest.Builder newBuilderForType()
Returns
TypeDescription
ProjectsSetDefaultNetworkTierRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ProjectsSetDefaultNetworkTierRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ProjectsSetDefaultNetworkTierRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ProjectsSetDefaultNetworkTierRequest.Builder toBuilder()
Returns
TypeDescription
ProjectsSetDefaultNetworkTierRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException