public static final class UpdateViewRequest.Builder extends GeneratedMessageV3.Builder<UpdateViewRequest.Builder> implements UpdateViewRequestOrBuilder
The parameters to UpdateView
.
Protobuf type google.logging.v2.UpdateViewRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateViewRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateViewRequest build()
Returns
buildPartial()
public UpdateViewRequest buildPartial()
Returns
clear()
public UpdateViewRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateViewRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearName()
public UpdateViewRequest.Builder clearName()
Required. The full resource name of the view to update
"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
For example:
"projects/my-project/locations/global/buckets/my-bucket/views/my-view"
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateViewRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearUpdateMask()
public UpdateViewRequest.Builder clearUpdateMask()
Returns
clearView()
public UpdateViewRequest.Builder clearView()
Required. The updated view.
.google.logging.v2.LogView view = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public UpdateViewRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public UpdateViewRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getName()
Required. The full resource name of the view to update
"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
For example:
"projects/my-project/locations/global/buckets/my-bucket/views/my-view"
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Required. The full resource name of the view to update
"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
For example:
"projects/my-project/locations/global/buckets/my-bucket/views/my-view"
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getUpdateMask()
public FieldMask getUpdateMask()
Returns
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Returns
getView()
Required. The updated view.
.google.logging.v2.LogView view = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getViewBuilder()
public LogView.Builder getViewBuilder()
Required. The updated view.
.google.logging.v2.LogView view = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getViewOrBuilder()
public LogViewOrBuilder getViewOrBuilder()
Required. The updated view.
.google.logging.v2.LogView view = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
hasUpdateMask()
public boolean hasUpdateMask()
Returns
Type |
Description |
boolean |
Whether the updateMask field is set.
|
hasView()
Required. The updated view.
.google.logging.v2.LogView view = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type |
Description |
boolean |
Whether the view field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(UpdateViewRequest other)
public UpdateViewRequest.Builder mergeFrom(UpdateViewRequest other)
Parameter
Returns
public UpdateViewRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateViewRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateViewRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeUpdateMask(FieldMask value)
public UpdateViewRequest.Builder mergeUpdateMask(FieldMask value)
Parameter
Returns
mergeView(LogView value)
public UpdateViewRequest.Builder mergeView(LogView value)
Required. The updated view.
.google.logging.v2.LogView view = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateViewRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setName(String value)
public UpdateViewRequest.Builder setName(String value)
Required. The full resource name of the view to update
"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
For example:
"projects/my-project/locations/global/buckets/my-bucket/views/my-view"
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name |
Description |
value |
String
The name to set.
|
Returns
setNameBytes(ByteString value)
public UpdateViewRequest.Builder setNameBytes(ByteString value)
Required. The full resource name of the view to update
"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
For example:
"projects/my-project/locations/global/buckets/my-bucket/views/my-view"
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name |
Description |
value |
ByteString
The bytes for name to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateViewRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateViewRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUpdateMask(FieldMask value)
public UpdateViewRequest.Builder setUpdateMask(FieldMask value)
Parameter
Returns
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateViewRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Parameter
Name |
Description |
builderForValue |
Builder
|
Returns
setView(LogView value)
public UpdateViewRequest.Builder setView(LogView value)
Required. The updated view.
.google.logging.v2.LogView view = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setView(LogView.Builder builderForValue)
public UpdateViewRequest.Builder setView(LogView.Builder builderForValue)
Required. The updated view.
.google.logging.v2.LogView view = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns