Class Scope (0.1.0)

public final class Scope extends GeneratedMessageV3 implements ScopeOrBuilder

Scope of an application.

Protobuf type google.cloud.apphub.v1.Scope

Implements

ScopeOrBuilder

Static Fields

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Scope getDefaultInstance()
Returns
TypeDescription
Scope

getDescriptor()

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

newBuilder()

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

newBuilder(Scope prototype)

public static Scope.Builder newBuilder(Scope prototype)
Parameter
NameDescription
prototypeScope
Returns
TypeDescription
Scope.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Scope getDefaultInstanceForType()
Returns
TypeDescription
Scope

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getType()

public Scope.Type getType()

Required. Scope Type.

.google.cloud.apphub.v1.Scope.Type type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Scope.Type

The type.

getTypeValue()

public int getTypeValue()

Required. Scope Type.

.google.cloud.apphub.v1.Scope.Type type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The enum numeric value on the wire for type.

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 Scope.Builder newBuilderForType()
Returns
TypeDescription
Scope.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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