Class GetValuedResourceRequest.Builder (2.47.0)

public static final class GetValuedResourceRequest.Builder extends GeneratedMessageV3.Builder<GetValuedResourceRequest.Builder> implements GetValuedResourceRequestOrBuilder

Request message for getting a valued resource.

Protobuf type google.cloud.securitycenter.v2.GetValuedResourceRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetValuedResourceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetValuedResourceRequest.Builder
Overrides

build()

public GetValuedResourceRequest build()
Returns
TypeDescription
GetValuedResourceRequest

buildPartial()

public GetValuedResourceRequest buildPartial()
Returns
TypeDescription
GetValuedResourceRequest

clear()

public GetValuedResourceRequest.Builder clear()
Returns
TypeDescription
GetValuedResourceRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetValuedResourceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GetValuedResourceRequest.Builder
Overrides

clearName()

public GetValuedResourceRequest.Builder clearName()

Required. The name of this valued resource

Valid format: "organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}"

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

Returns
TypeDescription
GetValuedResourceRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetValuedResourceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GetValuedResourceRequest.Builder
Overrides

clone()

public GetValuedResourceRequest.Builder clone()
Returns
TypeDescription
GetValuedResourceRequest.Builder
Overrides

getDefaultInstanceForType()

public GetValuedResourceRequest getDefaultInstanceForType()
Returns
TypeDescription
GetValuedResourceRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The name of this valued resource

Valid format: "organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}"

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of this valued resource

Valid format: "organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}"

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

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetValuedResourceRequest other)

public GetValuedResourceRequest.Builder mergeFrom(GetValuedResourceRequest other)
Parameter
NameDescription
otherGetValuedResourceRequest
Returns
TypeDescription
GetValuedResourceRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetValuedResourceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetValuedResourceRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GetValuedResourceRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GetValuedResourceRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetValuedResourceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetValuedResourceRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetValuedResourceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetValuedResourceRequest.Builder
Overrides

setName(String value)

public GetValuedResourceRequest.Builder setName(String value)

Required. The name of this valued resource

Valid format: "organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}"

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetValuedResourceRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetValuedResourceRequest.Builder setNameBytes(ByteString value)

Required. The name of this valued resource

Valid format: "organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}"

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetValuedResourceRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GetValuedResourceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetValuedResourceRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetValuedResourceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetValuedResourceRequest.Builder
Overrides