Class ComponentRef (0.23.0)

public final class ComponentRef extends GeneratedMessage implements ComponentRefOrBuilder

ComponentRef represents a reference to a component resource. Next ID: 4

Protobuf type google.cloud.saasplatform.saasservicemgmt.v1beta1.ComponentRef

Static Fields

COMPONENT_FIELD_NUMBER

public static final int COMPONENT_FIELD_NUMBER
Field Value
Type Description
int

COMPOSITE_REF_FIELD_NUMBER

public static final int COMPOSITE_REF_FIELD_NUMBER
Field Value
Type Description
int

REVISION_FIELD_NUMBER

public static final int REVISION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ComponentRef getDefaultInstance()
Returns
Type Description
ComponentRef

getDescriptor()

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

newBuilder()

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

newBuilder(ComponentRef prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getComponent()

public String getComponent()

Name of the component in composite.Components

string component = 2;

Returns
Type Description
String

The component.

getComponentBytes()

public ByteString getComponentBytes()

Name of the component in composite.Components

string component = 2;

Returns
Type Description
ByteString

The bytes for component.

getCompositeRef()

public CompositeRef getCompositeRef()

Reference to the Composite ApplicationTemplate.

.google.cloud.saasplatform.saasservicemgmt.v1beta1.CompositeRef composite_ref = 1;

Returns
Type Description
CompositeRef

The compositeRef.

getCompositeRefOrBuilder()

public CompositeRefOrBuilder getCompositeRefOrBuilder()

Reference to the Composite ApplicationTemplate.

.google.cloud.saasplatform.saasservicemgmt.v1beta1.CompositeRef composite_ref = 1;

Returns
Type Description
CompositeRefOrBuilder

getDefaultInstanceForType()

public ComponentRef getDefaultInstanceForType()
Returns
Type Description
ComponentRef

getParserForType()

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

getRevision()

public String getRevision()

Revision of the component. If the component does not have a revision, this field will be explicitly set to the revision of the composite ApplicationTemplate.

string revision = 3;

Returns
Type Description
String

The revision.

getRevisionBytes()

public ByteString getRevisionBytes()

Revision of the component. If the component does not have a revision, this field will be explicitly set to the revision of the composite ApplicationTemplate.

string revision = 3;

Returns
Type Description
ByteString

The bytes for revision.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasCompositeRef()

public boolean hasCompositeRef()

Reference to the Composite ApplicationTemplate.

.google.cloud.saasplatform.saasservicemgmt.v1beta1.CompositeRef composite_ref = 1;

Returns
Type Description
boolean

Whether the compositeRef field is set.

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 ComponentRef.Builder newBuilderForType()
Returns
Type Description
ComponentRef.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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