Class CloudFunctionInfo (1.33.0)

public final class CloudFunctionInfo extends GeneratedMessageV3 implements CloudFunctionInfoOrBuilder

For display only. Metadata associated with a Cloud Function.

Protobuf type google.cloud.networkmanagement.v1.CloudFunctionInfo

Static Fields

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

LOCATION_FIELD_NUMBER

public static final int LOCATION_FIELD_NUMBER
Field Value
TypeDescription
int

URI_FIELD_NUMBER

public static final int URI_FIELD_NUMBER
Field Value
TypeDescription
int

VERSION_ID_FIELD_NUMBER

public static final int VERSION_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CloudFunctionInfo getDefaultInstance()
Returns
TypeDescription
CloudFunctionInfo

getDescriptor()

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

newBuilder()

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

newBuilder(CloudFunctionInfo prototype)

public static CloudFunctionInfo.Builder newBuilder(CloudFunctionInfo prototype)
Parameter
NameDescription
prototypeCloudFunctionInfo
Returns
TypeDescription
CloudFunctionInfo.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public CloudFunctionInfo getDefaultInstanceForType()
Returns
TypeDescription
CloudFunctionInfo

getDisplayName()

public String getDisplayName()

Name of a Cloud Function.

string display_name = 1;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Name of a Cloud Function.

string display_name = 1;

Returns
TypeDescription
ByteString

The bytes for displayName.

getLocation()

public String getLocation()

Location in which the Cloud Function is deployed.

string location = 3;

Returns
TypeDescription
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

Location in which the Cloud Function is deployed.

string location = 3;

Returns
TypeDescription
ByteString

The bytes for location.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUri()

public String getUri()

URI of a Cloud Function.

string uri = 2;

Returns
TypeDescription
String

The uri.

getUriBytes()

public ByteString getUriBytes()

URI of a Cloud Function.

string uri = 2;

Returns
TypeDescription
ByteString

The bytes for uri.

getVersionId()

public long getVersionId()

Latest successfully deployed version id of the Cloud Function.

int64 version_id = 4;

Returns
TypeDescription
long

The versionId.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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