Class ComponentRef.Builder (0.23.0)

public static final class ComponentRef.Builder extends GeneratedMessage.Builder<ComponentRef.Builder> implements ComponentRefOrBuilder

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

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

Static Methods

getDescriptor()

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

Methods

build()

public ComponentRef build()
Returns
Type Description
ComponentRef

buildPartial()

public ComponentRef buildPartial()
Returns
Type Description
ComponentRef

clear()

public ComponentRef.Builder clear()
Returns
Type Description
ComponentRef.Builder
Overrides

clearComponent()

public ComponentRef.Builder clearComponent()

Name of the component in composite.Components

string component = 2;

Returns
Type Description
ComponentRef.Builder

This builder for chaining.

clearCompositeRef()

public ComponentRef.Builder clearCompositeRef()

Reference to the Composite ApplicationTemplate.

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

Returns
Type Description
ComponentRef.Builder

clearRevision()

public ComponentRef.Builder clearRevision()

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
ComponentRef.Builder

This builder for chaining.

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.

getCompositeRefBuilder()

public CompositeRef.Builder getCompositeRefBuilder()

Reference to the Composite ApplicationTemplate.

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

Returns
Type Description
CompositeRef.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCompositeRef(CompositeRef value)

public ComponentRef.Builder mergeCompositeRef(CompositeRef value)

Reference to the Composite ApplicationTemplate.

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

Parameter
Name Description
value CompositeRef
Returns
Type Description
ComponentRef.Builder

mergeFrom(ComponentRef other)

public ComponentRef.Builder mergeFrom(ComponentRef other)
Parameter
Name Description
other ComponentRef
Returns
Type Description
ComponentRef.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ComponentRef.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComponentRef.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ComponentRef.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ComponentRef.Builder
Overrides

setComponent(String value)

public ComponentRef.Builder setComponent(String value)

Name of the component in composite.Components

string component = 2;

Parameter
Name Description
value String

The component to set.

Returns
Type Description
ComponentRef.Builder

This builder for chaining.

setComponentBytes(ByteString value)

public ComponentRef.Builder setComponentBytes(ByteString value)

Name of the component in composite.Components

string component = 2;

Parameter
Name Description
value ByteString

The bytes for component to set.

Returns
Type Description
ComponentRef.Builder

This builder for chaining.

setCompositeRef(CompositeRef value)

public ComponentRef.Builder setCompositeRef(CompositeRef value)

Reference to the Composite ApplicationTemplate.

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

Parameter
Name Description
value CompositeRef
Returns
Type Description
ComponentRef.Builder

setCompositeRef(CompositeRef.Builder builderForValue)

public ComponentRef.Builder setCompositeRef(CompositeRef.Builder builderForValue)

Reference to the Composite ApplicationTemplate.

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

Parameter
Name Description
builderForValue CompositeRef.Builder
Returns
Type Description
ComponentRef.Builder

setRevision(String value)

public ComponentRef.Builder setRevision(String value)

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;

Parameter
Name Description
value String

The revision to set.

Returns
Type Description
ComponentRef.Builder

This builder for chaining.

setRevisionBytes(ByteString value)

public ComponentRef.Builder setRevisionBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for revision to set.

Returns
Type Description
ComponentRef.Builder

This builder for chaining.