Class GetExtendedMetadataSchemaRequest.Builder (0.67.0)

public static final class GetExtendedMetadataSchemaRequest.Builder extends GeneratedMessage.Builder<GetExtendedMetadataSchemaRequest.Builder> implements GetExtendedMetadataSchemaRequestOrBuilder

Request for GetExtendedMetadataSchema.

Protobuf type google.cloud.apphub.v1.GetExtendedMetadataSchemaRequest

Static Methods

getDescriptor()

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

Methods

build()

public GetExtendedMetadataSchemaRequest build()
Returns
Type Description
GetExtendedMetadataSchemaRequest

buildPartial()

public GetExtendedMetadataSchemaRequest buildPartial()
Returns
Type Description
GetExtendedMetadataSchemaRequest

clear()

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

clearName()

public GetExtendedMetadataSchemaRequest.Builder clearName()

Required. Schema resource name. Format: projects/{project}/locations/{location}/extendedMetadataSchemas/{extended_metadata_schema}.

{extended_metadata_schema} has the format "apphub.googleapis.com/{SchemaName}".

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
GetExtendedMetadataSchemaRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetExtendedMetadataSchemaRequest getDefaultInstanceForType()
Returns
Type Description
GetExtendedMetadataSchemaRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Required. Schema resource name. Format: projects/{project}/locations/{location}/extendedMetadataSchemas/{extended_metadata_schema}.

{extended_metadata_schema} has the format "apphub.googleapis.com/{SchemaName}".

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Schema resource name. Format: projects/{project}/locations/{location}/extendedMetadataSchemas/{extended_metadata_schema}.

{extended_metadata_schema} has the format "apphub.googleapis.com/{SchemaName}".

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetExtendedMetadataSchemaRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public GetExtendedMetadataSchemaRequest.Builder setName(String value)

Required. Schema resource name. Format: projects/{project}/locations/{location}/extendedMetadataSchemas/{extended_metadata_schema}.

{extended_metadata_schema} has the format "apphub.googleapis.com/{SchemaName}".

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetExtendedMetadataSchemaRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetExtendedMetadataSchemaRequest.Builder setNameBytes(ByteString value)

Required. Schema resource name. Format: projects/{project}/locations/{location}/extendedMetadataSchemas/{extended_metadata_schema}.

{extended_metadata_schema} has the format "apphub.googleapis.com/{SchemaName}".

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetExtendedMetadataSchemaRequest.Builder

This builder for chaining.